Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello all,
To acheive this Ive employed the "hidden (useful) worksheet becomes visible if macros are enabled" method. A second sheet is visible, that tells users that they must enable macros on loading the file. Should they already have macros enabled, the first thing that is run is to hide this sheet. Unfortunately, when loading the excel file, it shows the other sheet for a split second. Is there any way to stop this happening? Code he Private Sub Workbook_Open() Application.ScreenUpdating = False Call enablemacros Call openformat Application.ScreenUpdating = True etc......... Then in a module: Sub enablemacros() Worksheets("UsefulWorksheet").Visible = True Worksheets("RemindToEnableMacros").Visible = False End Sub Many thanks, Ed --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Force users to enable macros when open a workbook | New Users to Excel | |||
Forcing users to enter value based on criteria | Excel Discussion (Misc queries) | |||
Forcing users to update spreadsheets | Excel Discussion (Misc queries) | |||
Forcing users to complete a form | Excel Discussion (Misc queries) | |||
Suppress the Disable Macros / Enable Macros Dialog | Excel Programming |