var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
How can I check if a sheet is already in the workbook before trying to activate the sheet?
Please help! Thanks...
The function below should do what you need.
Function SheetExists(strSheetName As String) As Boolean
Dim shtTemp As Worksheet
SheetExists = False
For Each shtTemp In ActiveWorkbook.Sheets
If shtTemp.Name = strSheetName Then SheetExists = True
Log in with your username and password
Forgot your password?
Subscribe to dBforums Brief to receive special offers from dBforums partners and sponsors