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: 1
Default Macro call from custom button opens old file

I have created several macros in a spreadsheet that work fine on my computer.
They also work fine on several other collegues computers, but one collegue
has trouble when he saves the file after I e-mail it to him. The VBA code
that I wrote no longer works on his computer because the button still seems
to contain a reference to the file name that I created the macro under. So,
when he opens the file, it opens the old excel file that I sent to him first
and the macro does not function properly. Here is the sequence of events.
He opens the file (his macro security is set to Medium, so he has to choose
the "enable Macros" option. When he presses the button in question, Excel
asks him to "enable Macros" again and attempts to open another file (of the
same name as what I sent to him). I am not sure that I am adequately
describing the problem. I would be glad to provide more info if someone will
try to help. Thank you in advance.
 
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
2003 - 2007 custom macro and custom button restore. Scott Sornberger Excel Discussion (Misc queries) 11 May 23rd 08 02:41 PM
Custom button to call a macro in Personal David Walker Excel Programming 1 July 1st 06 11:45 PM
Call Userfor and click button with macro ExcelMonkey[_190_] Excel Programming 2 February 25th 05 04:41 PM
Button fails to call macro when open an Excel file from web Sam Excel Programming 1 June 30th 04 10:42 PM
Button won't call macro Lift Off Excel Programming 6 April 13th 04 10:44 PM


All times are GMT +1. The time now is 10:47 AM.

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"