Jump to content
Macro Express Forums

Copy Certain Text From Word


koden

Recommended Posts

I have a macro that open some programs and paste text into some fields.

 

The text I manually copy from a word doc, because I only want to copy SOME of the text in the word doc.

 

Can I make some function, that opens the word doc and take some of the text out??

 

I have attach a word doc so you can see it. All importend data are change too XXXXX :-))

 

What I need is to copy is alle that is RED

 

I have a program that remembers the last 10 ctrl+c if that helps.

 

Is that possible in any way???

case.doc

Link to comment
Share on other sites

I have a macro that open some programs and paste text into some fields.

 

The text I manually copy from a word doc, because I only want to copy SOME of the text in the word doc.

 

Can I make some function, that opens the word doc and take some of the text out??

 

I have attach a word doc so you can see it. All importend data are change too XXXXX :-))

 

What I need is to copy is alle that is RED

...

It's probably easier to use Word's own search features in this case. With your doc, I just did a search for any text with black font, and replaced it with nothing.

 

After the search & replace, all I had left was the red text, and some white space, which should presumably be easy to deal with.

 

Lemming B)

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...