Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Saving Excel VBA code to Personal.xls

If one records a macro in Excel they have the option of saving the macro to
the Personal.xls directory for global use. How does one do this with a
subroutiune already written in VBA? Do you export?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Saving Excel VBA code to Personal.xls

Marvin,

The simplest way is to simply cut and paste the code from one
module to another.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Marvin Johnson" <Marvin wrote
in message
...
If one records a macro in Excel they have the option of saving
the macro to
the Personal.xls directory for global use. How does one do
this with a
subroutiune already written in VBA? Do you export?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default Saving Excel VBA code to Personal.xls

Marvin,

You can just copy and paste it in the VBE.

hth,

Doug

"Marvin Johnson" <Marvin wrote in message
...
If one records a macro in Excel they have the option of saving the macro

to
the Personal.xls directory for global use. How does one do this with a
subroutiune already written in VBA? Do you export?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default Saving Excel VBA code to Personal.xls

If the code is in its own module, you could just drag the module from that
project to the personal.xls's project.



Marvin Johnson wrote:

If one records a macro in Excel they have the option of saving the macro to
the Personal.xls directory for global use. How does one do this with a
subroutiune already written in VBA? Do you export?


--

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
saving macros in personal workbook porbeagle Excel Worksheet Functions 1 March 30th 07 11:56 AM
saving styles into the personal workbook Louise Excel Discussion (Misc queries) 4 January 10th 07 03:29 PM
Saving Macro to Personal Workbook Chris Excel Discussion (Misc queries) 1 November 8th 06 08:41 PM
saving file as personal.xls Hans Excel Programming 2 April 27th 04 03:59 PM


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