Hi please could I have a VBA that will clear all values in Sheet 1 between D5:Q40 and Sheet 2 - between C5:R40.
Many thanks
Dave
Hi please could I have a VBA that will clear all values in Sheet 1 between D5:Q40 and Sheet 2 - between C5:R40.
Many thanks
Dave
Use the macro recorder while doing one range and see just how simple it is...
BSB![]()
Please Login or Register to view this content.
Try this
![]()
Please Login or Register to view this content.
Thanks,
Mike
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
Select Thread Tools-> Mark thread as Solved.
Hi many thanks, however it removes everything including the edges of the boxes and the back ground colour etc, is it possible to just clear the values and nothing else.
Many thanks
As Mike says in post #5 you can use .ClearContents rather than .Clear. This will only clear the values and leave the formatting etc.
BSB
Ah yea sorry thanks that works great
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks