If you follow instruction given on the site step by step, it will work.
Especially portion below is critical for the code to work.
"In the VBE Editor set a reference to "Microsoft Visual Basic For Applications Extensibility 5.3" and to "Microsoft Scripting Runtime" and then save the file."
Hi,
I want to copy Module1 from Test1 workbook to Test2 workbook.
Both files are in same folder.
Path of these file is"C:\Users\Saroj_Kumar\Desktop\Saroj\Test1.xlsm" and "C:\Users\Saroj_Kumar\Desktop\Saroj\Test2.xlsm"