Click here to Skip to main content
15,917,808 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Wait for Shell script to finish Pin
MartyK200713-Sep-07 22:00
MartyK200713-Sep-07 22:00 
GeneralRe: Wait for Shell script to finish Pin
Dave Kreskowiak14-Sep-07 4:48
mveDave Kreskowiak14-Sep-07 4:48 
GeneralRe: Wait for Shell script to finish Pin
MartyK200714-Sep-07 4:51
MartyK200714-Sep-07 4:51 
QuestionAnyone out there try TrSpeaker add in component in vb6? Pin
Robert from Florida13-Sep-07 5:55
Robert from Florida13-Sep-07 5:55 
AnswerRe: Anyone out there try TrSpeaker add in component in vb6? Pin
Dave Kreskowiak13-Sep-07 6:04
mveDave Kreskowiak13-Sep-07 6:04 
QuestionExcel automation problem Pin
Alsvha13-Sep-07 5:03
Alsvha13-Sep-07 5:03 
AnswerRe: Excel automation problem Pin
Dave Kreskowiak13-Sep-07 5:28
mveDave Kreskowiak13-Sep-07 5:28 
GeneralRe: Excel automation problem Pin
Alsvha13-Sep-07 9:32
Alsvha13-Sep-07 9:32 
The code is something along this line (simplified to avoid writing unnecessary function call et al)

myExcelObject.CreateRange("myCellRange")
myExcelObject.CellRange.Formula = "=SUM('SheetName'!Cell;'SheetName'!Cell)"

I can post the more exact code if needs be, but this is the gist of it.
As mentioned, I write other formulas without problems, although these do not span multiple sheets - including array formulas - so there can't really be much at fault with my base code. The problem seems to lie somewhat deeper then just the normal issues, which is why I turned to this forum.

I was thinking the issue might be connected to the fact that I need to "cheat" Excel to think it is a US-EN system by changing the culture when I create the excel objects needed (Workbook, Sheets etc), and when I then try to write the SheetName's in the formula that it has an localization issue or something.
But if this is the case, then I'm really without much of a hope - it just really annoys me cause I can take the fomula from the code, paste it into the generated Excel document and have it work. I just can't print it out automatically Frown | :(



---------------------------
127.0.0.1 - Sweet 127.0.0.1

GeneralRe: Excel automation problem Pin
Dave Kreskowiak13-Sep-07 9:52
mveDave Kreskowiak13-Sep-07 9:52 
GeneralRe: Excel automation problem Pin
Alsvha13-Sep-07 19:08
Alsvha13-Sep-07 19:08 
GeneralRe: Excel automation problem - Simple Example Pin
Alsvha13-Sep-07 21:28
Alsvha13-Sep-07 21:28 
GeneralRe: Excel automation problem - Simple Example Pin
Alsvha13-Sep-07 22:09
Alsvha13-Sep-07 22:09 
GeneralRe: Excel automation problem - Simple Example Pin
Dave Kreskowiak14-Sep-07 4:51
mveDave Kreskowiak14-Sep-07 4:51 
GeneralRe: Excel automation problem Pin
Luc Pattyn13-Sep-07 9:57
sitebuilderLuc Pattyn13-Sep-07 9:57 
GeneralRe: Excel automation problem Pin
Alsvha13-Sep-07 19:10
Alsvha13-Sep-07 19:10 
QuestionDataGrid Pin
Kiran Pinjala13-Sep-07 3:07
Kiran Pinjala13-Sep-07 3:07 
AnswerRe: DataGrid Pin
Dave Kreskowiak13-Sep-07 4:50
mveDave Kreskowiak13-Sep-07 4:50 
QuestionHow to change the owner of a registry key ? Pin
Ky Nam13-Sep-07 3:04
Ky Nam13-Sep-07 3:04 
AnswerRe: How to change the owner of a registry key ? Pin
Dave Kreskowiak13-Sep-07 4:42
mveDave Kreskowiak13-Sep-07 4:42 
QuestionHow can i invoke javascript functions in vb .net? Pin
eyes200713-Sep-07 2:53
eyes200713-Sep-07 2:53 
AnswerRe: Pdf to text Pin
WhiteGirl2313-Sep-07 2:07
WhiteGirl2313-Sep-07 2:07 
QuestionPdf to text Pin
Prakash_Mishra13-Sep-07 0:41
Prakash_Mishra13-Sep-07 0:41 
Questionrejoining split lines Pin
Mustafa Ismail Mustafa13-Sep-07 0:30
Mustafa Ismail Mustafa13-Sep-07 0:30 
AnswerRe: rejoining split lines Pin
Dave Kreskowiak13-Sep-07 4:34
mveDave Kreskowiak13-Sep-07 4:34 
QuestionHow to print Crystal report directly Pin
Swiss Mantoro12-Sep-07 22:28
Swiss Mantoro12-Sep-07 22:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.