andrevni22
New Member
- Joined
- Dec 21, 2022
- Messages
- 9
- Office Version
- 2021
- Platform
- Windows
Is there a way to use a customized Form1 as Msgbox? like:
In my program I have a big Form and a button that calls this customized Form1 in some conditions and I have an If statement after that depending of the choice. What I need is like:
(of course there is not a function like Form1.click - this is just to show that I need like a Msgbox with vbYesNoCancel)
Many Thanks in advance!
In my program I have a big Form and a button that calls this customized Form1 in some conditions and I have an If statement after that depending of the choice. What I need is like:
VBA Code:
If Form1.click= "fist button" then
'code
end if
(of course there is not a function like Form1.click - this is just to show that I need like a Msgbox with vbYesNoCancel)
Many Thanks in advance!