Solved

Moving Excel VB and Macros to another PC

Posted on 2004-10-01
2
129 Views
Last Modified: 2010-05-02
Maybe this is obvious..., but I have develped 200-300 lines of code which were stored by default in modules of my Personal Macro Workbook. I want to give the spreadsheets that used this code to someone else...

The code, as it is, is in the hidden 'default workbook'. How can I make it function on anothers's PC and still have it work on mine???

Thanks!
0
Comment
Question by:janderson131
2 Comments
 
LVL 35

Accepted Solution

by:
mvidas earned 125 total points
ID: 12201659
The easiest way would be to go to your

C:\Documents and Settings\username\Application Data\Microsoft\Excel\XLSTART

folder (when excel is closed), and just send them that personal.xls file. tell them to put it in the same place, and now it's their file too!

If they have macros they want to keep already in their personal.xls file, you could just export the modules by right clicking/export and then just send them the exported files for them to import

Matt
0
 

Author Comment

by:janderson131
ID: 12206202
OK... This sounds simple enough! Thanks for the quick suggestions...

:)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now