LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default References to Other Workbooks Don't Stick

Thanks. That worked. I only had code in one of the workbooks.

But now I have a different problem. I've added my macros to the Quick
Access Toolbar, but these are not sticking either. They work fine when I
first add them to the toolbar, but they disappear after closing and
re-opening the workbook. Any suggestions?

Thanks,

George

"Ryan H" wrote in message
...
I was able to recreat the error. The issue happed when I didn't have any
modules in both of the workbooks. If I had a module with some code in

both
workbooks then save both workbooks the references held. Try that.

I assume Excel automatically drops the reference if there isn't any code

in
the workbook to reference. Kinda makes sense, but it would be nice to

warn
users before dropping the reference that you assign automatically because

the
abscents of code.

Hope this helps! If so, let me know, click "YES" below.
--
Cheers,
Ryan


"George B" wrote:

Yes, I'm saving it. And if I do nothing else than to add the reference

and
try to exit, it prompts me to save it, so that Excel "knows" that the

file
has been changed.

George

"Ryan H" wrote in message
...
Are you saving the workbook with the reference added to it? I hope

so,
just
had to ask. Add the reference like you said in the VBE then click

the
Save
button. Hope this helps! If so, let me know, click "YES" below.
--
Cheers,
Ryan


"George B" wrote:

Excel 2007 on Vista: When I add a reference (Visual Basic;

Tools/References)
to a workbook with VBA code, the macros become available and

executable.
When I try to exit from this workbook with the just-added reference,

it
tells me the workbook has been modified and prompts me to save it.

But
when
I open it back up, the reference is gone. The same process worked

fine
on
my old system with Excel 2000.

What am I doing wrong?


.



.





 
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
Finding cells that contain references to other workbooks John Cunha Excel Worksheet Functions 2 October 22nd 09 10:25 AM
Systematically updating references to other workbooks Flipper Excel Discussion (Misc queries) 9 August 27th 09 09:22 PM
References to external workbooks Preston Excel Worksheet Functions 4 July 27th 09 07:03 PM
References to external workbooks in excel Fightin Engineer Excel Discussion (Misc queries) 2 February 6th 07 06:50 PM
References to other workbooks Mike Excel Programming 3 May 9th 06 03:04 PM


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