Z
Zee
I currently load an excel file using VB6 as below:
Set oExcel = CreateObject("excel.application")
Set oBook = oExcel.Workbooks.Open(sMyFile)
Set oSheet = oBook.Sheets(1)
oSheet.cells(1,1)=...
I then proceed to manipulate the worksheet for a while.
The Excel file doesn't show in Windows while it is doing its processing
but obviously the process shows in the task manager under processes.
If I know open another Excel file from Windows for general use (nothing
connected to my VB6 application), The file above becomes visible and it
is possible to edit the file. What is more if you then close the file
above the VB6 loses the link to the file.
Is it possible to open up my VB6 Excel file in a separate process so
that if the user then wants to open another Excel file meanwhile the
VB6 Excel file will not become visible?
Any help really appreciated
David
Set oExcel = CreateObject("excel.application")
Set oBook = oExcel.Workbooks.Open(sMyFile)
Set oSheet = oBook.Sheets(1)
oSheet.cells(1,1)=...
I then proceed to manipulate the worksheet for a while.
The Excel file doesn't show in Windows while it is doing its processing
but obviously the process shows in the task manager under processes.
If I know open another Excel file from Windows for general use (nothing
connected to my VB6 application), The file above becomes visible and it
is possible to edit the file. What is more if you then close the file
above the VB6 loses the link to the file.
Is it possible to open up my VB6 Excel file in a separate process so
that if the user then wants to open another Excel file meanwhile the
VB6 Excel file will not become visible?
Any help really appreciated
David