VBA and the Prompt method

The VBA forum deals with IntelliCAD 2000 VBA (Visual Basic for Applications) issues.

Moderator: CMS Inc

Post Reply
wdfiller
Newbie
Posts: 1
Joined: Fri Aug 18, 2006 11:01 pm

VBA and the Prompt method

Post by wdfiller » Sat Aug 19, 2006 5:09 pm

ActiveDocument.Utility.Prompt "message"
Activedocument.Utility.Getstring

I have a program written that searches for a particular text value (or mtext value) in a document. It works fine but I am having one problem with the command prompt. If I try to issue a getstring command after using the prompt command I get an error. For some reason the getstring command is showing up on the same line as the prompt command like it needs a carriage return. I can't find anything that issues a carriage return in VB (ie the space bar) Anyone got a clue?
gsprink
Newbie
Posts: 8
Joined: Tue Aug 30, 2005 11:01 pm
Contact:

Post by gsprink » Tue Aug 22, 2006 6:05 pm

Try vbCr
Post Reply