Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 415
Default Problem with excel workbook switching

Create a new, hidden instance of Excel to do your processing, leaving the
user free to continue in the existing instance.

Dim MyXLApp As excel.application
set myxlapp=new excel.application

Now direct all your code to this instance.

NickHK

"King"
egroups.com...
Hi,
I am running an excel macro that fatches data from the database and
generats excel reports on multiple sheets. This process sometimes takes
about an hour or two. But during this retrieve process, users are not
able to open a new excel workbook, or they can not even open
aready-opened excel workbooks. Users can not minimize the excel
workbook where the process is going on, and can not even switch the
already open excel workbooks.

Is there anything I should set in the code to allow users to switch the
workbook?

Thanks in advance.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching between sheets in same workbook (Like Alt + Tab & Choose nils Excel Discussion (Misc queries) 4 April 17th 10 12:12 AM
Switching printes in Excel travldc Setting up and Configuration of Excel 0 April 4th 07 08:32 PM
Is there a shortcut key for switching between tabs in a workbook wwaller Excel Discussion (Misc queries) 4 March 5th 07 06:40 PM
short cut key for switching between sheets in a workbook? RH Excel Discussion (Misc queries) 4 January 3rd 07 05:19 PM
Workbook Switching Strategy Nigel Excel Programming 6 May 5th 05 06:24 PM


All times are GMT +1. The time now is 03:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"