Hi all,
I have a workbook containing a macro.I am opening this workbook from other workbook.
I want that when i open the workbook, my macro in opened workbook runs automatically as soon as it is opened.
Hi all,
I have a workbook containing a macro.I am opening this workbook from other workbook.
I want that when i open the workbook, my macro in opened workbook runs automatically as soon as it is opened.
Hi kmlprtsngh,
Go to VBE and click on thisworkbook under project explorer panel on the left.
Copy the above and put your code inside it.Private Sub Workbook_Open()
your code
End Sub
Cheers
HS TS VN
Thanks, you are great.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks