W
windsurferLA
Using Excel'97 running under WinXP-pro w/ SR-2
To prevent an error when activating a specific worksheet in an open
workbook, I need to know if a specific worksheet is already the active
worksheet.
Forest example, a command such as:
If (Worksheets("scratch").Range("E3").Value = "") Then .... End If
can be used to tell if the a specific cell contains a value.
Is there a better way to determine if a specific worksheet in a workbook
is the active worksheet than by using the following code?
If((worksheets.active)= worksheets("scratch")) Then .... End If
To prevent an error when activating a specific worksheet in an open
workbook, I need to know if a specific worksheet is already the active
worksheet.
Forest example, a command such as:
If (Worksheets("scratch").Range("E3").Value = "") Then .... End If
can be used to tell if the a specific cell contains a value.
Is there a better way to determine if a specific worksheet in a workbook
is the active worksheet than by using the following code?
If((worksheets.active)= worksheets("scratch")) Then .... End If