What is "DlgText$" & how do I translate it to VBA

B

BobTheElder

I'm attempting to convert some old Word macros and I've run into several
terms beginning with Dlg... that I'd like to convert to VBA. The macros still
function using WordBasic.xxx but I fear that will not be the case when
Microsoft upgrades again.

Any assistance appreciated.
 
D

Doug Robbins - Word MVP

If I recall correctly (which may not be the case), those commands would have
been associated with the use of a custom dialog,

The equivalent in the VBA world is a UserForm.

See the article "How to create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
B

BobTheElder

Doug - I appreciate the link; I am recreating a WordBasic form as a UserForm
and attempting to translate the code to work with the new form.


Jay - I have the WordBasic help file but the only help for Dlg... commands
is that they have "been replaced by custom user forms. Refer to the topics in
Microsoft Forms Help." I haven't been able to find any reference that allows
me to determine what the commands do to be able to find out how to do it in
MS Forms. Thanks for all your assistance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top