Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Letting user have temporary scrolling authority

At a critical point in the macro I display a message box asking the user if
everything looks OK. He can choose to continue or stop. If he continues the
macro goes on to perform major surgery to the data table.

The only problem is that when the message box is displayed the user cannot
scroll around the screen to examine all areas of the large data table. Is
there a way to provide this flexibility without leaving the confines of the
original macro?

Thanks,
Art
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Letting user have temporary scrolling authority

If you're using xl2k or higher, you could drop the msgbox and build a userform.

And then show that userform as non-modal.

UserForm1.Show False



ArthurJ wrote:

At a critical point in the macro I display a message box asking the user if
everything looks OK. He can choose to continue or stop. If he continues the
macro goes on to perform major surgery to the data table.

The only problem is that when the message box is displayed the user cannot
scroll around the screen to examine all areas of the large data table. Is
there a way to provide this flexibility without leaving the confines of the
original macro?

Thanks,
Art


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Letting user have temporary scrolling authority

And then show that userform as non-modal.

UserForm1.Show False


More self-documenting would be to use the built-in VB constant...

UserForm1.Show vbModeless

--
Rick (MVP - Excel)
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Letting user have temporary scrolling authority

Doh!

I agree.

Thanks for the correction, Rick.

Rick Rothstein wrote:

And then show that userform as non-modal.

UserForm1.Show False


More self-documenting would be to use the built-in VB constant...

UserForm1.Show vbModeless

--
Rick (MVP - Excel)


--

Dave Peterson
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
Mouse is not letting go of a cell Leah Excel Discussion (Misc queries) 1 June 16th 08 07:29 PM
AUTHORITY OF VARYING RIGHTS FARAZ QURESHI Excel Discussion (Misc queries) 2 November 12th 07 06:58 AM
edit cells only with authority zhj23 Excel Discussion (Misc queries) 1 May 24th 05 06:17 AM
Limit User scrolling Chris Excel Programming 3 February 2nd 05 11:15 AM
Not letting me import XML data Rob Excel Worksheet Functions 0 December 3rd 04 01:15 AM


All times are GMT +1. The time now is 05:21 PM.

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

About Us

"It's about Microsoft Excel"