Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to programmatically determine if a range exists
in an existing workbook. I'm using the following code and it's erroring out: ======== Set validationWkSht = ThisWorkbook.Worksheets ("Validation") With validationWkSht For i = 0 To .Range.Count <stuff Next i End With ======== I'm getting "Compile Error: Argument not optional" applying to ".Range.Count". Thing is, I'm trying to use ".Range" as a collection because there's supposed to be a range collection w/a count propery. Can anyone help me here? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
From worksheet enter DO-Loop start & end code | Excel Programming | |||
Loop through checkBox on worksheet | Excel Programming | |||
worksheet loop | Excel Programming | |||
How? Macro to copy range to new worksheet, name new worksheet, loop | Excel Programming | |||
If... Then Loop problems in Worksheet Event | Excel Programming |