Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word Basic and Dialog() (Office95)

Status
Not open for further replies.

LTJ

Programmer
Sep 28, 2000
4
NO
Hello all,

I have two questions someone might help me solve.

1)
Is it possible to change the titlename in dialogboxes that you're not making yourself?

Take this example (Word Basic, Office95):
Dim dlg As FileNew
return = Dialog(dlg)
If return = - 1 Then FileNew dlg

Does the titlename in this box always have to say "New", or can I change it?

2)
I can still access other buttons or menues outside the 'FileNew' dialogbox before I choose 'OK' or 'Cancel'. Is this a bug, or can I prevent this in any way?

Thanks if you have any ideas!


Regars
L. T. Johannessen [sig][/sig]
 
Can you give me a bit more information:
Where are you running this code from - macro in Word, or from a VB project?

I have just put your code into both and it does not compile.

Simon [sig][/sig]
 
Hello swilliams,

Yes, it is a macro in Word, but in Word from Office95 where the makrolanguage was called Word Basic. I think it was the last version of Word Basic before Microsoft changed to VBA in Office97.

The macrocode will look totaly diferent in VBA, so it it not compatible im afraid!

Thanks for youre reply!


L. T. Johannessen [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top