Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
try NumRowsB = Workbooks("B.xls").Worksheets("Xwalk").Cells(Rows. Count, "A").End(xlUp).row -- Regards Frank Kabel Frankfurt, Germany Pete wrote: Within a macro in workbook A I am trying to get the row count in a worksheet named "Xwalk" in workbook B. I can't figure out the syntax. This doesn't work: NumRowsB = Workbooks("B.xls").Worksheets("Xwalk")!Range ("A1").End(xlDown).Row Can someone please correct for me. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA syntax | Excel Discussion (Misc queries) | |||
Deleting rows - syntax wrong? | Excel Discussion (Misc queries) | |||
Deleting a range of rows based on a variable; syntax error | Excel Discussion (Misc queries) | |||
Countnig Unique Invoice #'s in a Column | Excel Discussion (Misc queries) | |||
"rows" syntax | Excel Programming |