Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
setting a variable to the offset of another object declared variab
I am having problems with offset. i cant seem to get the offset function to
set a variable to the offset of another variable (a cell) here are a couple code snippits that i have tried already. Set PopFromZone = Selection.Offset(0, 2) If PopFromZone = "Zone AV" Then ' type Error 13 Type Mismatch If PopFrom.Offset(0, 2) = "Zone AV" Then 'Run Time error 434 Object Required Thanks for replies Ironhydroxide |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Reference a variable declared in VBA | Excel Worksheet Functions | |||
Type change in a declared Variable? | Excel Programming | |||
Type change in a declared Variable? | Excel Programming | |||
Using Offset on Variable Dinensioneds Object | Excel Programming | |||
setting object variable | Excel Programming |