Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copying sheet moving end

Status
Not open for further replies.

smiley0q0

Technical User
Feb 27, 2001
356
US
i need to copy a sheet called "blank" and put it after all the other sheets. i need this in vba code, and i will be running this macro every month so the last sheet will change every month, so i can't tell it to put it after any particular sheet. Is there any code that tells it to put the copy after all the other sheets?

Thank you for your help :)

Smiley :-D
 
Give this a go.

LastSheetNumber = Sheets.Count
Sheets("Blank").Move After:=Sheets(LastSheetNumber)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top