Exporting & Importing Macros

  • Thread starter Thread starter JRM
  • Start date Start date
J

JRM

I have a large macro which I urgently need to copy to another PC.
Currently it is in Personal.xls on PC.1
I've tired exporting from Visual Basic Editor but cann't seem to fin
where it goes when I import it. Also I don't appear to hav
Personal.xls on the 2nd PC - do I need to create it & if so how.
All help gratefully received with thanks. (& please make it simple !)
Joh
 
Your module was exported with a .bas file extention and if
you are trying to find it with excel's open file dialog
box, you wont see it unless you have selected all files in
the type of file box. but if you open in with excel all
you will get is a text file with the code. To import your
module into another file, do that in the VB editor.
File>inport. make sure the file you want it in is open.
 
Hi John,

When you import a module it can generally be found as a new module (under
the name it was exported with originally) in the current worksheet.

If you're still having problems you can copy the personal.xls file to
C:\Documents and Settings\%Username%\Application
Data\Microsoft\Excel\XLSTART. This is the default location on an XP/2000
machine

regards

Paul
 
PC said:
Hi John,

When you import a module it can generally be found as a new module (under
the name it was exported with originally) in the current worksheet.

If you're still having problems you can copy the personal.xls file to
C:\Documents and Settings\%Username%\Application
Data\Microsoft\Excel\XLSTART. This is the default location on an XP/2000
machine

regards

Paul


JRM > said:
I have a large macro which I urgently need to copy to another PC.
Currently it is in Personal.xls on PC.1
I've tired exporting from Visual Basic Editor but cann't seem to find
where it goes when I import it. Also I don't appear to have
Personal.xls on the 2nd PC - do I need to create it & if so how.
All help gratefully received with thanks. (& please make it simple !)
John

Also your personal workbook may be hidden so in Excel

menu >windows >unhide

may do the trick

WHen you export a *.bas file you can call it want and have the opition to
save it anywhere. Try a floppy then you'll easily find it

Best N10


N10
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top