EXCEL VBA copy button to another document

[Closed]
Report
-
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
-
Hello,
Bascially, I created a button in Document A which can help me to sort a table ( the button consists of VLOOK UP in data from another document B and formatting the cell width of the table). I did so by recording macro.

However, now im required to copy the button to another document. I tried to copy and paste the VBA code to the new document but it went all wrong and NO data could be shown.

Could anyone help? I am a total beginner of VBA and I havent got a clue what to do now.

1 reply

Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
Could you please upload a sample EXCEL file WITH sample data, macro, formula , conditional formatting etc on some shared site like https://authentification.site , http://docs.google.com, http://wikisend.com/ , http://www.editgrid.com etc and post back here the link to allow better understanding of how it is now and how you foresee. Based on the sample book, could you re-explain your problem too
1
Thank you

A few words of thanks would be greatly appreciated. Add comment

CCM 2821 users have said thank you to us this month