Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Moving Excel VB and Macros to another PC

Posted on 2004-10-01
2
Medium Priority
?
136 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 500 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…
Suggested Courses

772 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