in my excel sheet, I have used the below code for two different macro function. But my both the code carrying private sub workbook open so its not working. any one can help me, please.
Please Login or Register to view this content.
in my excel sheet, I have used the below code for two different macro function. But my both the code carrying private sub workbook open so its not working. any one can help me, please.
Please Login or Register to view this content.
maybe
Please Login or Register to view this content.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Good afternoon ss_bb_24
You can't have two module with the same name or you'll encounter an ambiguous name error at runtime.
The solution, my friend, is simple : put all your code into one module. Just bear in mind whether you want to hide the sheets first or collect the users initials. If you go for the former first, the macro will halt until the user enters ther initials and clicks OK.
HTH
DominicB
Please familiarise yourself with the rules before posting. You can find them here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks