![]() |
#1
|
|||
|
|||
![]()
Novice needs some help. I am enough of a hack to read some sample code and modify it to what I want to do, but I am having some trouble finding info on doing this, if possible:
I have created a macro that brings up a form. The Form prompts the user with a textbox. The user types in a six-digit number and clicks OK. Then the macro searches for a string of text, specifically "XXXXXX". Here is where I am stumped: Replace the "XXXXXX" with the six-digit number. Then the macro will go on to print the document. I have tried Text.Replace, but I can only get it to work with quotes around the new text, which doesn't allow me to reference the input in the textbox. Can this be done? |
#2
|
|||
|
|||
![]()
Sorry, actually I found out it does work. Nice and simple like. Just like it was intended to.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Text ENCODE | Craig Tucker | CorelDRAW/Corel DESIGNER VBA | 10 | 26-01-2005 13:59 |
Find objects by properties | Webster | CorelDRAW/Corel DESIGNER VBA | 8 | 01-12-2004 18:51 |