Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a situation where I'm trying to create a loop that opens a worksheet
that has the same name as a range or cell or variable. I can capture the name from the value in a cell, but then when I try to use that name as the name of the worksheet I get a datatype conflict. Here's an example from the code... Set NextTab = Users(UserLoop) ' where Users & NextTab are defined as ranges Set WS1 = Worksheets(NextTab) ' can't use a range this way Any way around this? Thanks, Steve |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I hide unused file types from file types list in save dial | Excel Discussion (Misc queries) | |||
Excel 2007 error "some chart types cannot be combined with other chart types. Select a different chart types" | Charts and Charting in Excel | |||
Data types when importing Excel data to SQLServer | Excel Discussion (Misc queries) | |||
Prob with Var Data-types.. | Excel Programming | |||
Test for 3 types of data | Excel Programming |