Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default export macros


IS it possible to take the macros recorded
and copy them to another mashine ? That way I wont have to
record them over and over again for each mashine.

ruben


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default export macros

Yes. It should work.

--
Regards,
Tom Ogilvy


"Ruben Mikkelsen" wrote in message
...

IS it possible to take the macros recorded
and copy them to another mashine ? That way I wont have to
record them over and over again for each mashine.

ruben




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default export macros

As an example, people are constantly posting code in this newsgroup. Others
are copying that code and pasting into their copy of excel and using it.

--
Regards,
Tom Ogilvy


"Ruben Mikkelsen" wrote in message
...

IS it possible to take the macros recorded
and copy them to another mashine ? That way I wont have to
record them over and over again for each mashine.

ruben




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default export macros

Ruben,

All macros are recorded into a workbook, so just copy the workbook over.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ruben Mikkelsen" wrote in message
...

IS it possible to take the macros recorded
and copy them to another mashine ? That way I wont have to
record them over and over again for each mashine.

ruben




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 227
Default export macros

Hi Ruben

Can you not copy the Excel file containing all the macros on to
another machine?

--
XL2002
Regards

William



"Ruben Mikkelsen" wrote in message
...
|
| IS it possible to take the macros recorded
| and copy them to another mashine ? That way I wont have to
| record them over and over again for each mashine.
|
| ruben
|
|





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default export macros

Thanks for all your replys, however I'm still a bit in the dark.

The file that the macros are run on changes every week. So I've
made the macros "permanent" in excel. When you close the file after you've
first recorded the macro you are given the option to make the macros
available to excel or store them in the .xls file. I chose the first.Are the
macros stored on the mashine in a file that I can take with me to each of
the other mashines, or will I have to either copy the code or store the
macro in the .xls file.

Hope someone will understand what I'm getting at :)

Regards
Ruben



"Ruben Mikkelsen" wrote in message
...

IS it possible to take the macros recorded
and copy them to another mashine ? That way I wont have to
record them over and over again for each mashine.

ruben



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default export macros

in the xlstart directory below the directory that contains Excel.exe, you
will have a personal.xls workbook. This is where the macro is stored. This
workbook is loaded each time excel is started.

What I suggest you do is go into the VBE Alt+F11 and in the project
explored, look for personal.xls. Under modules click on each module until
you find you macro. Copy this macro and paste it in notepad, then save this
as a text file. Now you can take this text file around and copy the macro
into each computers personal.xls (they won't have one unless the user has
recorded a macro and selected to store it in personal.xls). If the person
doesn't have one, you can record a dummy macro (just select a cell, then
stop recording). The go into the vbe and paste in your macro.

I wouldn't suggest carrying around your personal.xls as it would conflict
with personal.xls files created by others. However, if they don't have a
personal.xls, then you could copy your to there computers.

--
Regards,
Tom Ogilvy


"Ruben Mikkelsen" wrote in message
...
Thanks for all your replys, however I'm still a bit in the dark.

The file that the macros are run on changes every week. So I've
made the macros "permanent" in excel. When you close the file after you've
first recorded the macro you are given the option to make the macros
available to excel or store them in the .xls file. I chose the first.Are

the
macros stored on the mashine in a file that I can take with me to each of
the other mashines, or will I have to either copy the code or store the
macro in the .xls file.

Hope someone will understand what I'm getting at :)

Regards
Ruben



"Ruben Mikkelsen" wrote in message
...

IS it possible to take the macros recorded
and copy them to another mashine ? That way I wont have to
record them over and over again for each mashine.

ruben





  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 634
Default export macros

Ruben, when you record a macro you get the option of where to store it in
the dialog box. The options will be to either store it in 'This workbook'
referring to the workbook you are currently in, or to store it in your
'personal macro workbook' which is usually invisible to you (Assuming you
have one) but opens each time you launch Excel.

If a macro is stored in a workbook then when that workbook is open the macro
is available to be run from that or any other open workbook. If it is in
your personal.xls then it will be available to you no matter what workbook
you are working with.

The macros are stored in what is called a module in either of those two
files and is easily transferrable. I have a lot of macros that I use
regularly that are not specific to any particular workbook, so I keep them
in my personal.xls. I also keep a copy of that personal.xls on a memory
stick that I carry round with me and can then stick it on any machine I work
on, and as a result I can then immediately access all the macros that I am
used to working with. If the macros are specific to a workbook then they
should stay in that workbook and you can run them no matter what machine you
open the workbook with.

Give us an idea of what the macros do and we can suggest the optimal route
to take.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Ruben Mikkelsen" wrote in message
...

IS it possible to take the macros recorded
and copy them to another mashine ? That way I wont have to
record them over and over again for each mashine.

ruben




  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default export macros

I found the file containing the macros "global.xls". I copied it to
the xlstart folder of another mashine and found the source code by hitting
alt+f11. Now I am able to assign buttons to the different macros. Perfect.
Thanks a million guys

ruben :)

"Ken Wright" wrote in message
...
Ruben, when you record a macro you get the option of where to store it in
the dialog box. The options will be to either store it in 'This workbook'
referring to the workbook you are currently in, or to store it in your
'personal macro workbook' which is usually invisible to you (Assuming you
have one) but opens each time you launch Excel.

If a macro is stored in a workbook then when that workbook is open the
macro
is available to be run from that or any other open workbook. If it is in
your personal.xls then it will be available to you no matter what workbook
you are working with.

The macros are stored in what is called a module in either of those two
files and is easily transferrable. I have a lot of macros that I use
regularly that are not specific to any particular workbook, so I keep them
in my personal.xls. I also keep a copy of that personal.xls on a memory
stick that I carry round with me and can then stick it on any machine I
work
on, and as a result I can then immediately access all the macros that I am
used to working with. If the macros are specific to a workbook then they
should stay in that workbook and you can run them no matter what machine
you
open the workbook with.

Give us an idea of what the macros do and we can suggest the optimal route
to take.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Ruben Mikkelsen" wrote in message
...

IS it possible to take the macros recorded
and copy them to another mashine ? That way I wont have to
record them over and over again for each mashine.

ruben






  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default export macros

I suggest you should use the export module wizard to export the whole module
into the new workbook.



"Ruben Mikkelsen" wrote in message
...

IS it possible to take the macros recorded
and copy them to another mashine ? That way I wont have to
record them over and over again for each mashine.

ruben





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
Import/export excel macros between two computers mick Excel Discussion (Misc queries) 3 May 13th 08 11:40 AM
Export/Inport Macros Tail Wind Excel Discussion (Misc queries) 2 January 5th 08 07:25 PM
export re-order input fields to export file [csv] madisonpete Excel Worksheet Functions 0 November 30th 07 03:51 PM
Chip Pearson Import/Export Macros saturnin02[_2_] Excel Programming 21 April 4th 04 11:56 PM
Export Personal Macros Lippy Excel Programming 1 November 10th 03 08:14 PM


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