×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Excel Macros problem

Excel Macros problem

Excel Macros problem

(OP)

I have made some "Marco" modification(copy from some previous file) on the excel file but don't know why every time I try to retrieve this file then it will automatically link/refer to the previous excel file/worksheet.  

Can u give me some suggestions
Thanks
bigB

RE: Excel Macros problem

If you want to copy macros, you should probably export the VBA module and import it into the new file. Open the file with the macro and go to the VB Editor. In the Project Window, right click the module and select Export File. Then, open the target workbook, go to the VB Editor, right click the project and select Import File. Select the exported .bas file and your set.

DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.

RE: Excel Macros problem

(OP)

I have made some "Marco" modification(copy from some previous file) on the excel file but don't know why every time I try to retrieve this file then it will automatically link/refer to the previous excel file/worksheet.  Could what how u  could help?

Basically, I have to write an instruction and teach other users to use this template.  Once, the instruction is completed then I may need to see what marco/VB that he could be built into this template.

I tried to you export the VBA module and import it into the new file but it dus not work.
Cud u gimme any other suggestions

RE: Excel Macros problem

Look in the Code Editor menu: Tools - Reference.. and see if it is not the name of the initial file there. If yes, remove the tick.
I hope this will help !?!?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources