J
Joseph M. Newcomer
If I were creating a dialog that needs to return an option value, in C++/MFC I might do
UINT result = dlg.DoModal();
where dlg was my dialog template. I would do an EndDialog(n) to return value n.
In VBA, I want to do this. I can't figure out how to set the initial one of three radio
buttons (OptionButtons) [I am amazed that, given the quality of the documentation, anyone
is able to accomplish anything], and return a set of values, for example
0 - cancel was clicked
1 - OK, option button 1 selected
2 - OK, option button 2 selected
3 - OK, option button 3 selected
I have an additional problem with this; I want the form to be represented ENTIRELY as a
text file, no funky form pictures. I need to be able to give the end users a text file
they can paste in to their project from the clipboard, and this does not seem to be
possible, either.
Pointers to example code would help. Also, is there any form of decent documentation for
VBA? Or should I be considering a .NET language like C# for this purpose? If so, what
newsgroup should I be in?
joe
Joseph M. Newcomer [MVP]
email: (e-mail address removed)
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
UINT result = dlg.DoModal();
where dlg was my dialog template. I would do an EndDialog(n) to return value n.
In VBA, I want to do this. I can't figure out how to set the initial one of three radio
buttons (OptionButtons) [I am amazed that, given the quality of the documentation, anyone
is able to accomplish anything], and return a set of values, for example
0 - cancel was clicked
1 - OK, option button 1 selected
2 - OK, option button 2 selected
3 - OK, option button 3 selected
I have an additional problem with this; I want the form to be represented ENTIRELY as a
text file, no funky form pictures. I need to be able to give the end users a text file
they can paste in to their project from the clipboard, and this does not seem to be
possible, either.
Pointers to example code would help. Also, is there any form of decent documentation for
VBA? Or should I be considering a .NET language like C# for this purpose? If so, what
newsgroup should I be in?
joe
Joseph M. Newcomer [MVP]
email: (e-mail address removed)
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm