Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel 2007 referencing other wb

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 - referencing a cell value from another worksheet withi crisg Excel Discussion (Misc queries) 7 February 9th 09 10:24 PM
Can't Cancel r1c1 cell referencing in excel 2007 Yasaf Burshan Excel Discussion (Misc queries) 3 June 24th 08 01:24 PM
Stop 2007 from recording formulas with Relative Referencing [email protected] Excel Discussion (Misc queries) 5 June 16th 08 08:09 PM
referencing a different tab by referencing a list in the current s Kevin Excel Worksheet Functions 3 July 6th 07 07:57 PM
Referencing dll in Excel Tammy[_5_] Excel Programming 0 October 29th 04 12:15 PM


All times are GMT +1. The time now is 11:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"