View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Don Guillett[_2_] Don Guillett[_2_] is offline
external usenet poster
 
Posts: 1,522
Default need help writing a script Hiding a range when a cell with in is greater than 53..

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"EagerGit" wrote in message
...
Hello there

I have made a worksheet where its calculate the wages etc containing 53
payslips.
As you know there are 52 (+special 53 i.e 2~3 days) weeks in a year so
when a user wants to calculate their wages say from WEEK 11 it calculates
all the way down to week 63.

I have named all the payslips as ps1,ps2,ps3.......ps53 and a cell within
which has week no are named as ps1w,ps2w,....ps53w

I need to write a script where when say cell E794 "named as ps35w" is 53
then Hide range ps35

Any help please.

Thanks in advance