Hi
I selected an area in a sheet, created a button and assigned it to the macro below but I got error message saying "function or data member not found"
Thank youPlease Login or Register to view this content.
Hi
I selected an area in a sheet, created a button and assigned it to the macro below but I got error message saying "function or data member not found"
Thank youPlease Login or Register to view this content.
That implies what you have selected isn't a Range object. You could confirm this by inserting the line
above Selection.Clear. What appears in the Immediate window?Please Login or Register to view this content.
Works for me ... as a standalone routine, assigned to an ActiveX Command Button, and assigned to a Form Control Button.
Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks