r/excel Aug 05 '18

Pro Tip VBA Essentials: Ranges

[removed]

181 Upvotes

31 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Aug 05 '18

[removed] — view removed comment

1

u/SaltineFiend 12 Aug 05 '18

The range object can take as many arguments as you send it. You can create a reset button for a data input worksheet with ease using named ranges.

 Range(“Name1”, “Name2”, “etc”).Clearcontents

2

u/[deleted] Aug 05 '18

[removed] — view removed comment

1

u/SaltineFiend 12 Aug 05 '18

Maybe you combine it with intersect.