Solved

Moving Excel VB and Macros to another PC

Posted on 2004-10-01
2
133 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

710 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