Hi all
I am asking a question users have to answer before print
New users usually ask what this field is for -> I'd like to add a third option, besides "Yes" or "No", - the button "What is this?"If MsgBox("Did you update the 'Effective as of', resp. entered the closing date, if applicable?", vbYesNo, "Effective as of") = vbNo Then Cancel = True
if this option is chosen another msg box will show up explaining it to the user.
I know how i would make the msg box appear, but have no idea how to add the answer possibility "what is this?"
Anyone would know a way to do this?
Thx
FD
You need to create a userform
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel Tips & Solutions, free examples and tutorials why not check out my downloads
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
Hi Roy
Many thanks for your reply!
I am afraid I have never done that before.
How exactly do I do this?
I know where the option is to insert such user form, but I do not know how to use the function.
Have you considered using the 'Help' facility in the MsgBox function? There is an overhead in setting up the Help file (and compiling to CHM, say) but this can support users in many ways.
Creating userforms isn't too difficult but like many things, seeing an example can be a big help. The attachment has a very simple form - quick and dirty - needs more refinement before use in anger!
The entry point is a procedure 'test' in Module1.
The title, message and 'what this means' are set via properties so that if the relevant parts of the form are changed, the calling code does not need to be altered.
I expect you will have some follow-on questions but good luck
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks