• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VBA to clear contents based on list of sheet names

I have a sheet called 'Clear'. Column A has the names of other sheets in the workbook. Column B has the range of cells listed like this B1, B2:B5, B10:B11, B14, B18:B22, B25, B29:B33, E25, H12:H14 for which I need to clear contents for each corresponding sheet listed in Column A.

I need VBA code to run macro that will cycle through all of the sheets in Column A on 'Clear' worksheet and clear contents for the range of cells listed in Column B.
 
Hi:

I am not going to create a sample file for you and write code, you will have to upload a sample file if you need help.

Thanks
 
Back
Top