VBA Equivalent

J

Jerry

Can someone tell me what the VBA equivalent for this piece
of code is:

Begin Dialog UserDialog 500, 300, "HNS SEND"
ListBox 10, 9, 350, 280, hnsname$(), .hns
OKButton 390, 7, 88, 50
CancelButton 390, 80, 88, 50
End Dialog


Thanks,
Jerry
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Jerry,

That was the way in which user dialogs were defined in Word Basic. In VBA,
you would use a UserForm for that,

See the article “How to create a Userform” at:

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

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 

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