Home |
Search |
Today's Posts |
#21
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think i figured it out. The With function is not enough for the Set
function to use the sheet specified by the With function. I.E., if i include the line: Sheets("Premiums Commissions").Select before the "Set BU = Rows(1)..." then it works like a charm. I guess it only works on the ActiveSheet? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Attempting to weight | Excel Discussion (Misc queries) | |||
Attempting to use VBA to Ping within Excel... | Excel Programming | |||
Attempting to reduce userforms | Excel Programming | |||
Attempting Excel Template | New Users to Excel | |||
Newbie VBE scripting question | Excel Programming |