0

Conditional Hidesheet

Hi Everyone,

I have created a report that calculates the data from the "Sales Shipments" and the G/L Accounts to check if there is any inaccurate information.
the report itself works fine.
It runs from the first of the month to "Today" with a new sheet for each day and a Summary page (which totals up using excel formulas, not Jet)

the problem I'm having is in B2 I have "Hide+?"
in B3 i have =TEXT(D4,"DMMYYYY") (D4 is the last date value)
in B4 i have =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,LEN(CELL("filename",A1))-FIND("]",CELL("filename",A1))+1)which returns the current sheet name (which is the date value because of "Sheets")
in B2 i have =IF(B3<>B4,"Hidesheet","Show")
so if today is the date of the sheet leave it showing otherwise Hidesheet.

however when running the report it doesn't work.
the cell says "Hidesheet" but the sheet is still visible

Thanks for help in advance
-Bromy

3 comments

Please sign in to leave a comment.