LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default How can I use a worksheet while running a userform?

You can use Conditional Compilation to test if you are running in
VBA6, which is the version of VBA used in Excel 2000 and later.
E.g.,

#If VBA6 Then
Userform1.Show vbModeless
#Else
Userform1.Show
#End If

Note that the # characters are required.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"cecilia12345" wrote
in message ...
how you do this if it`s excel 2000?


---
Message posted from http://www.ExcelForum.com/





 
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 to keep UserForm open at all times while excel is running NFL Excel Discussion (Misc queries) 1 July 8th 09 01:35 AM
Worksheet form vs. Userform...which is better? Webtechie Excel Discussion (Misc queries) 5 August 24th 08 09:23 AM
Convert Worksheet to Userform Brian C Excel Discussion (Misc queries) 1 October 3rd 05 08:08 PM
Closing the Userform when macro is running SuperJas Excel Programming 5 December 10th 03 05:31 AM
autorun userform from worksheet paradise Excel Programming 1 October 30th 03 08:38 AM


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

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"