Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: MicroStation VBA "s_ChangeTextInfo" error

$
0
0

Hi April,

You can actually start recording a VBA macro, then start the Find/replace text tool and set all the settings as required in the Find/Replace Text dialog, click the "Find"/"Replace All" button etc.

Once that done, you may be able to see if the VBA macro can generated to simulate what you've just done. Most of the times it can, a few times it can't.

But for the the Find/Replace Text tool, it's all good. I'm on SS3 as well and this is what I get:

CadInputQueue.SendCommand "MDL KEYIN FINDREPLACETEXT,CHNGTXT CHANGE DIALOGTEXT"

CadInputQueue.SendKeyin "FIND DIALOG SEARCHSTRING XXXX"

CadInputQueue.SendKeyin "FIND DIALOG REPLACESTRING YYYY"

CadInputQueue.SendKeyin "FIND DIALOG MATCHCASE False"

CadInputQueue.SendKeyin "FIND DIALOG WHOLEWORDS False"

CadInputQueue.SendKeyin "FIND DIALOG REGEX False"

CadInputQueue.SendKeyin "FIND DIALOG SEARCHINCELLS False"

CadInputQueue.SendKeyin "CHANGE TEXT FIND"


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>