View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mcrmike mcrmike is offline
external usenet poster
 
Posts: 1
Default copying sheet with macro

On my worksheet (totals hours worked each day for all employes) I have
macro assigned to a button (update) on the worksheet which copies th
sheet, deletes all data and then updates the dates to the next week
The problem is, when I click the button and it copies the worksheet i
always uses the original sheet (sheet1) instead of using the ne
updated sheet (sheet2,3,ect.) when I run the macro each additiona
time. I understand that the macro is referencing sheet1, but I don'
know how to make it reference the active sheet. Help would be greatl
appreciated. Thanks

--
Message posted from http://www.ExcelForum.com