Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel App "invisible" to user
Hi
I'm preparing some reports and paste them in Excel file with formatting etc. All works fine Except it takes a while and if meanwhile User decides to work in Excel too he opens the same instance of excel which my program uses to work. This disturbs program work and hangs It. ex. when program creates report and user exits Excel it shuts down entire application not bothering my program still uses it. Can I create separate instance of Excel so staring new excel by user wouldn't interfere with mine? Thanks for help |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel App "invisible" to user
Kamil,
Yes you can. Dim xlApp As Object Set xlApp = CreateObject("Excel.Application") and then work in VBA as norm al, but referencing all objects via xlApp. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Kamil" wrote in message ... Hi I'm preparing some reports and paste them in Excel file with formatting etc. All works fine Except it takes a while and if meanwhile User decides to work in Excel too he opens the same instance of excel which my program uses to work. This disturbs program work and hangs It. ex. when program creates report and user exits Excel it shuts down entire application not bothering my program still uses it. Can I create separate instance of Excel so staring new excel by user wouldn't interfere with mine? Thanks for help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2007 displays Locked by "another user", does not show User I | Excel Discussion (Misc queries) | |||
Why is the graph invisible when I move it to a "new sheet"? | Charts and Charting in Excel | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
How do you save and share "user-defined chart type's" in Excel? | Charts and Charting in Excel | |||
Make "Worksheet Menu Bar" invisible or Delete/hide it's buttons | Excel Programming |