Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to declare the active worksheet?
In the following lines of code how co uld I declare what the activesheet is
and make the line still work? For dX = 1 To ActiveSheet.UsedRange.Rows.Count If IsError(Application.Match(sSelected, ActiveSheet.Columns(1), 0)) Then |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to declare the active worksheet?
First activate the sheet you want:
Sheets("Sheet1").Activate -- Gary''s Student - gsnu200753 "Mekinnik" wrote: In the following lines of code how co uld I declare what the activesheet is and make the line still work? For dX = 1 To ActiveSheet.UsedRange.Rows.Count If IsError(Application.Match(sSelected, ActiveSheet.Columns(1), 0)) Then |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copying the active worksheet to another worksheet in the same work | Excel Worksheet Functions | |||
Declare Worksheet name over multiple modules | Excel Programming | |||
Basic Question - How do I return the worksheet number of the active worksheet? | Excel Programming | |||
Altering code to reference the worksheet before the active worksheet | Excel Programming | |||
macro to apply worksheet event to active worksheet | Excel Programming |