View Single Post
 
Old 05-07-2012, 05:27 AM
Peter Wienand Peter Wienand is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: May 2012
Posts: 15
Peter Wienand is on a distinguished road
Default

You will need to modify the code for your spreadsheet. In particular the line

retireAge = Sheets("Sheet1").Range("B3").Value

needs to be changed to point to the cell containing the retirement age and all other Sheets("Sheet1")'s should refer to the worksheet on which the rows are to be hidden.
Reply With Quote