I want a button that will reset my workbook, uncheck boxes, set qtys to 0, etc basically set it to exactly how I have it right now. Thanks for the help
I want a button that will reset my workbook, uncheck boxes, set qtys to 0, etc basically set it to exactly how I have it right now. Thanks for the help
Hi jamierat,
See the attached workbook where I have done this on the first sheet and assigned the macro to the button which you had already created. Press Alt + F11 and check the module, its quite simple and you can easily amend the code for rest of the sheets
Cheers
Regards,
DILIPandey
<click on below 'star' if this helps>
DILIPandey, Excel rMVP
+919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com
This might do the trick
![]()
Sub clear() Union(Range("B15:B30"), Range("F15:G30")).ClearContents End Sub
JieJenn, Union ?
![]()
Range("B15:B30,F15:G30").ClearContents
Just a habit. Sometimes ranges can get too many for me.
Yeah Union or Range("B15:B30, F15:G30"); both works.
To be clear - it wasn't a question rather to express surprise at your usage of it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks