connecting users of the CorelDRAW family of products

Find and replace variable text

rated by 0 users
This post has 8 Replies | 1 Follower

Share  
Page 1 of 1 (9 items) | RSS

Menachem Eliyahu Posted: Mon, Jun 8 2009 13:28

At my job I copy and paste existing text from a document into corel, format it, then it is sent out to be engraved.  The format of the text is usually:

text 1 - line1 | line2 | text 2 - line1 | line2 | etc...

 and it's formatted to look like this:

line1
line2

line1
line2

etc...

Now the problem is I want to replace all the instances of text1, text2, text3, text(n) with a hard return, but it seems that the find and replace tool does not support wildcards.  Is there any way around this.

Top 10 Contributor
Calgary, Alberta, Canada
Male
TAG - MacroMonster.com

Menachem Eliyahu:
Now the problem is I want to replace all the instances of text1, text2, text3, text(n) with a hard return, but it seems that the find and replace tool does not support wildcards.  Is there any way around this.

Probably with a VBA macro...

can yyou upload a small Coreldraw file with before and after examples you manually create, side by side? Then we know for sure...

Top 10 Contributor
Uruguay
Male

Menachem Eliyahu:
Now the problem is I want to replace all the instances of text1, text2, text3, text(n) with a hard return, but it seems that the find and replace tool does not support wildcards.  Is there any way around this.

 

Why not? you can replace any text with a Hard Return


Ariel Garaza Díaz

  arielgaraza.com


 

This is essentially what I do. I replace all the '|' with a hard return then "text(n)" individually. Afterwards I break the text apart and place them in boxes.

Top 10 Contributor
Cave Creek, AZ
Male
TAG - Mediamarketplace (Foster)
Menachem,
 
Why are you doing this with Find/Replace. The print merge function would automate this so you can do all pieces at once.
 
The following tutorial covers the steps involved.
 
You can get that information and a LOT more (including videos of how to do it) in my CorelDRAW X4 Unleashed book. I'm sure Jeff will also tell you more about his MonsterMerge add-on for CorelDRAW which takes print merge to a whole new level. It is a great product, but could be overkill based on what you've described so far.
 
 
 

I should have been a little more specific, I get all my data from an html document. I would have to copy and paste anyway then reformat them to print merge.  By that time I would have done what I needed to do already.

Top 10 Contributor
Cave Creek, AZ
Male
TAG - Mediamarketplace (Foster)
Menachem,

I still feel Print Merge is the way to go.
Top 10 Contributor
Uruguay
Male

Me too, I think Print Merge is the best option

Ariel Garaza Díaz

  arielgaraza.com


Oh well. Thanks anyway.

Page 1 of 1 (9 items) | RSS
© Corel Corporation. The content herein is in the form of a personal web log ("Blog") or forum posting. As such, the views expressed in this site are those of the participants and do not necessarily reflect the views of Corel Corporation, or its affiliates and their respective officers, directors, employees and agents. Terms and Conditions / User Guidelines.