Hi,
I have an excel file name as "Format" in which "Sheet1" has a command button.
When i click the command button it should open the Open dialog box using the below code:
Then I will select an excel file and it should copy the data of the selected file and should paste it in "Sheet2" of "Format" workbook.
And then the selected file should close simultaneously.
Can you please advice me.
Thank you,
Vargeesh
I have an excel file name as "Format" in which "Sheet1" has a command button.
When i click the command button it should open the Open dialog box using the below code:
Code:
Application.GetOpenFilename("excel(*.xls), (*.xls)")
Then I will select an excel file and it should copy the data of the selected file and should paste it in "Sheet2" of "Format" workbook.
And then the selected file should close simultaneously.
Can you please advice me.
Thank you,
Vargeesh