EXCEL VBA copy button to another document

Closed
abcde - Jun 23, 2010 at 09:34 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Jun 24, 2010 at 06:51 PM
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.
Related:

1 response

rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Jun 24, 2010 at 06:51 PM
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