Hello,
Below a part of a code.
I wan't to change a part of this. Sheets X was always vidible, but it may only be visible if the valeu on 'Sheet11 cell A1 = > 5'
I have test it whit the IIf function, but i make some little mistake...
Thanks !
Below a part of a code.
I wan't to change a part of this. Sheets X was always vidible, but it may only be visible if the valeu on 'Sheet11 cell A1 = > 5'
I have test it whit the IIf function, but i make some little mistake...
Code:
Sub Generate () t = Sheets("Sheet 1").Cells(3, 1).Value
If t > 0 Then
Application.DisplayAlerts = False
[B]Sheets("X" & t).Visible = True[/B]
....
....
Thanks !