Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a list of workbooks and I want to get some data off of the first
worksheet. I plan to open the file and use an indirect formula similar to what I'm showing below: Range("H" & i).Select ActiveCell.FormulaR1C1 = "=""'""&RC1&""\[""&RC7&""]SHEET1'!""" Range("I" & i).Select ActiveCell.FormulaR1C1 = "=INDIRECT(RC[-1]&""$B$33"")" UNFORTUNATELY, the first worksheet has different names in each workbook. It's not SHEET1. How would I identify the sheetname and include it in my formula? Thanks, Barb Reinhardt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Programmatically selecting first worksheet | Excel Programming | |||
Selecting Embedded charts in Active Sheets programmatically | Charts and Charting in Excel | |||
Selecting most of very many programmatically | Excel Programming | |||
Programmatically Add Worksheet Event | Excel Programming | |||
Selecting Rows Programmatically | Excel Programming |