View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
L.White L.White is offline
external usenet poster
 
Posts: 32
Default how to effect multiple sheets at one time.

Hello everyone,

I have a spreadsheet that is used to track employee absence. At the end of
each year accounting will take the sheet and archive it. Since we hire new
people we are adding sheets throughout the year. I need to add a second
archive button that can effect only specific sheets. What I want to do is
take the date of hire (C5) and compare it to a date I will hard code into
the macro. If the date of hire is before the hard coded date I want the
program to copy and past the absences to a lower position in the sheet. Then
clear out the absences from the top. I will be placing this button on the
main sheet so punching it will have to search all tabs in the sheet and
check that cell.

the value C5 is pointing to the main sheet. Which is an index of the
employees and is there for quick viewing. I don't know how to go from sheet
to sheet with the macro.

All help is deeply appreciated.
LWhite