Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Had the syntax wrong: If Not aWS Is Nothing Then
'Do Something Sorry bout that! "Barb Reinhardt" wrote: I have the following: For iCtr = LBound(myWSNames) To UBound(myWSNames) Set aWS = Nothing Set aWS = Sheets(myWSNames(iCtr)) if aws is not nothing then 'do something end if Next iCtr I have a list of worksheet code names in mywsnames. I'd like to set the aws to be the name in the mywsnames list. It's not working. What do I need to change? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
array of arrays stored in Name: POSSIBLE? | Excel Programming | |||
Passing an array or recordset to a stored procedure | Excel Programming | |||
Passing an array or recordset to a stored procedure | Excel Programming | |||
Passing an array or recordset to a stored procedure | Excel Programming | |||
vba clearing out values stored in array | Excel Programming |