Fredric Andersson
New Member
- Joined
- Sep 30, 2021
- Messages
- 10
- Office Version
- 365
- Platform
- Windows
Hello guys again,
i have a new problem that make me tear up my hair.
This is how my userform is (Last picture)
When there is a value in Nummer (like the one or two) i want to show the "Åtgärd för detta ärende"
Below is my code that i tought worked but dont work.
anyone have a soultion for this?
If riskanalys_dashboard.n1 <> "" Or riskanalys_dashboard.n2 <> "" Or riskanalys_dashboard.n3 <> "" Then
riskanalys_dashboard.cmd_åtgärd1.Visible = True
riskanalys_dashboard.cmd_åtgärd2.Visible = True
riskanalys_dashboard.cmd_åtgärd3.Visible = True
Else
riskanalys_dashboard.cmd_åtgärd1.Visible = False
riskanalys_dashboard.cmd_åtgärd2.Visible = False
riskanalys_dashboard.cmd_åtgärd3.Visible = False
End If
Br
Fredric
i have a new problem that make me tear up my hair.
This is how my userform is (Last picture)
When there is a value in Nummer (like the one or two) i want to show the "Åtgärd för detta ärende"
Below is my code that i tought worked but dont work.
anyone have a soultion for this?
If riskanalys_dashboard.n1 <> "" Or riskanalys_dashboard.n2 <> "" Or riskanalys_dashboard.n3 <> "" Then
riskanalys_dashboard.cmd_åtgärd1.Visible = True
riskanalys_dashboard.cmd_åtgärd2.Visible = True
riskanalys_dashboard.cmd_åtgärd3.Visible = True
Else
riskanalys_dashboard.cmd_åtgärd1.Visible = False
riskanalys_dashboard.cmd_åtgärd2.Visible = False
riskanalys_dashboard.cmd_åtgärd3.Visible = False
End If
Br
Fredric