Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Macros dont work when file used on another computer

I would put the userforms in the addin.

And include some sort of macro that showed those userforms.

Leanne wrote:

One more question - some of the marcos refer to a form - does that need to be
in the add in file?

"Dave Peterson" wrote:

That's were they belong.

Without more details, I'm stuck.

Did you save the file as an addin?
Did you reopen that addin?
Did you allow macros to run?
What happened?



Leanne wrote:

Fair enough on the queries.

Should the macro's be stored in a module in the add in workbook?

Sorry I am realising that I know very little about macros and vba.

Yes i used your method from Debra's site. Fair question but yes I changed
the names - only bit I didn't change was the last part of the code with
msgbox.

"Dave Peterson" wrote:

First, I don't know enough about queries to help.

Second, the macros should be stored in general modules.

There were a few techniques in that post. Which one did you use?

If you used the toolbar method from Debra Dalgleish's site, did you remember to
change the macro names?



Leanne wrote:

Hi Dave,
Do the macro's you asign need to be saved in a particular way or place? I
have followed your instructions but it tells me the macro can not be found.
They are still saved in the workbook (which incidently is being access via a
usb while trying to resolve these issues on another pc)

"Dave Peterson" wrote:

Are you building a toolbar or adding something to the menubar?

If you are...

I think your life will be lots easier if you create that toolbar when the
workbook opens and destroy it when the workbook closes.

Some references if you want to look at that option:

For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm

Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)

And if you use xl2007:

If you want to learn about modifying the ribbon, you can start at Ron de Bruin's
site:
http://www.rondebruin.nl/ribbon.htm
http://www.rondebruin.nl/qat.htm -- For macros for all workbooks (saved as an
addin)
or
http://www.rondebruin.nl/2007addin.htm

In xl2007, those toolbars and menu modifications will show up under the addins.

Leanne wrote:

I have built a file with forms and macros but I can not transfer this to
another computer without it failing to find some of the macros. they are all
recorded within the file, either in the module or in individual sheets and
buttons. Can anyone tell me how to get around this. I will need to
distribute this to people throughout the UK so I will not be able to reasign
everything each time.

Thanks

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
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
Macros don't work when file name changes Chuck Sena Excel Discussion (Misc queries) 2 January 13th 10 07:11 PM
flash object dont work in my excel work sheet Nitn Excel Discussion (Misc queries) 0 July 4th 09 08:00 AM
Can you run a Access database on a computer if you DONT have Acces Ted Excel Discussion (Misc queries) 3 February 9th 09 09:46 PM
macros dont work meagain Excel Programming 8 June 3rd 04 08:58 PM
Macros work on my computer but not another??? R-Enemy Excel Programming 0 February 2nd 04 07:56 PM


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