Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello!
I am using a macro which references other sheets in other wb. In Excel 2003, I only had to update the macro and it would run fine. Now, although I have updated the macro and eliminated the macro security on Excel 2007, I still must update the file *manually* for each cell (defeating the purpose of the macro...). I have 4 sheets, each with over 400 cells which must reference other workbooks. Help! I'm attaching a snippet of code below: Sub YTD() 'MACROSUBTITLE Sheets("OpenSheetName").Select ' Part 1 Range("E11").Select ActiveCell.FormulaR1C1 = _ "='C:\FolderName\[FileName.xls]SheetName'!R13C5" Range("F11").Select ActiveCell.FormulaR1C1 = _ "='C:\FolderName\[FileName.xls]SheetName'!R13C6" ....And so on... Thank you in advance for your help! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 - referencing a cell value from another worksheet withi | Excel Discussion (Misc queries) | |||
Can't Cancel r1c1 cell referencing in excel 2007 | Excel Discussion (Misc queries) | |||
Stop 2007 from recording formulas with Relative Referencing | Excel Discussion (Misc queries) | |||
referencing a different tab by referencing a list in the current s | Excel Worksheet Functions | |||
Referencing dll in Excel | Excel Programming |