Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i am looking for some advice on object variables. I have a module with
two sub routines in it. i have the following object variables at module level dim codes as worksheets i want to use this variable in both subs, and the value(worksheet) will be the same, so do i have to set the variable in both subs, set codes = worksheets("sheet1) this is what i am doing at the moment but i am not sure if this is correct or good programming. regards chris |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Object Variable Not Set Error on Selection object | Excel Worksheet Functions | |||
Run-time error '91': "Object variable or With block variable not set | Excel Programming | |||
setting a range variable equal to the value of a string variable | Excel Programming | |||
Cells.Find error Object variable or With block variable not set | Excel Programming | |||
Pivot Table - Object variable or with block variable not set? | Excel Programming |