Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, I'm having trouble with the below code. I want the open procedure
to exit the code if the active sheet on opening is "Option1" can anyone help please?? Private Sub Workbook_Open() Application.ScreenUpdating = False If ActiveSheet.Name("Option1") Then Exit Sub End If ActiveWorkbook.Sheets("Input").Activate If Range("D30") < "" Then ActiveWorkbook.Sheets("Default").Select Exit Sub End If UserForm2.Show Application.ScreenUpdating = True End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need to sort an active sheet using the col of the active cell | Excel Programming | |||
Copy from active sheet and paste into new sheet using info from cell in active | Excel Programming | |||
Active Cell when opening workbook | Excel Worksheet Functions | |||
Opening and pasting in active workbook | Excel Programming | |||
PERSONAL.xls is opening as active when Excel starts - why? | Excel Programming |