Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default Locking User Interaction

Hi All,

What is the VB code for locking user interaction with the workbook while
certain macros are running? I have a few macros that need to be on specific
sheets of the workbook. If macro is runnig and users change the worksheets,
my macros do not work since they need to be on specific worksheet for
processing. I need to freeze the excel window or something while macros are
running. How can you lock up user interaction with the excel workbook while
macros are running?

I tried using the following VB code which does not do the trick:
Application.ScreenUpdating = False
Application.EnableEvents = False

Even I tried changing the shape of cursor to xlwait which did not work!!!!

Thanks
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
How Email does not need user interaction ? Koulla Excel Discussion (Misc queries) 4 October 15th 08 02:41 PM
Worksheet copy without user interaction Sunicro Excel Programming 0 December 20th 07 07:46 PM
Upload file without user interaction - VBA [email protected] Excel Programming 6 June 23rd 07 01:26 PM
user interaction to select a sheet mark Excel Programming 5 May 29th 07 03:11 AM
Modeless form for user interaction Arne[_2_] Excel Programming 6 July 15th 03 02:22 PM


All times are GMT +1. The time now is 11:12 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"