MS Excel Macro Question?

Following is a portion of a macro I created that isn't quite correct:

Sheets("Blank Sheet").Select

Sheets("Blank Sheet").Copy After:=Sheets(4)

This macro will copy the sheet to a specific location. After so many sheets, it will still copy the sheet to that same specific location.

I need the macro to always copy the sheet to the very end of the workbook, no matter how many sheets there are. What is the syntax for this?

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 Q2A.ES - All rights reserved.