LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Create a reference

Hello,

I recently switched from Excel 2000 to Excel 2003. This
code worked fine in my old version to create a reference
to an add-in file. Can you please tell me what has to be
changed to work in 2003?

Private Sub Workbook_Open()

On Error Resume Next
With ThisWorkbook.VBProject
.References.AddFromFile ("J:\Macros.xla")
End With

Call Restore_Submenu

End Sub


Thanks,
Wes
 
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
Can I create a 3-D reference from multiple workbooks Jennifer Excel Worksheet Functions 2 January 8th 09 08:27 PM
Using a cell in formula to create a reference ek Excel Worksheet Functions 0 August 17th 07 02:22 AM
How do I create a unique spreadsheet reference? Paul Excel Worksheet Functions 1 November 1st 06 07:14 PM
Inability to create remote reference Edward Excel Discussion (Misc queries) 1 September 4th 06 03:36 PM
Nesting? How do I create a table to reference? mcr1 Excel Discussion (Misc queries) 3 January 7th 06 02:14 AM


All times are GMT +1. The time now is 05:14 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"