Solved

Moving Excel VB and Macros to another PC

Posted on 2004-10-01
2
132 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

740 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