I would like from any worksheet of my workbook to activate the macro below for sheet workings
but getting run time error 1004
unable to get the select property of range class
Can anyone assist
Please Login or Register to view this content.
I would like from any worksheet of my workbook to activate the macro below for sheet workings
but getting run time error 1004
unable to get the select property of range class
Can anyone assist
Please Login or Register to view this content.
First of all, you don't actually need to select in the code.
Second, if you can describe what you are trying to accomplish that would help.
If you remove .select, the code is fine.
HTH
Regards, Jeff
Basically - you cannot select anything what is not on the currently active sheet. So either:
orPlease Login or Register to view this content.
or of coursePlease Login or Register to view this content.
Please Login or Register to view this content.
Best Regards,
Kaper
You don't select like that
OrPlease Login or Register to view this content.
Also, you have to be on that sheet in order for this to workPlease Login or Register to view this content.
Jeffrey,Kaper,davesexcel thank you for solutions provided and explanations ,all work fine now.
Glad you have found a solution that will work for you. You're welcome and We are happy to help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks