r054
04-30-2008, 11:48 AM
Hi all,
I have a problem which I'm not sure how to solve.
I have a document that has all sort of formatting. Say this is document A. Document A has some images in it. Then I need to select all, copy, and paste special as unformatted text to remove all the formatting to a new document, let's call it document B. When we choose to paste as unformatted text, no images wil be copied to document B.
Is there any way to paste as unformatted text but still copy the images?
Otherwise I found the logic on how to do it but not sure how to implement some stuff. The logic is as the following:
Start with original document A and document B where we paste document A as unformatted text
Find an image in document A.
Copy it.
Collapse the selection to the end and select the next 100 character after the image.
Look for that particular text in document B.
Collapse the selection in document B to the start of the selection
Paste the image there.
This step is repeated until we cannot find anymore image in document A.The problem that I have is how to switch from document A to document B, where it is possible to have other word documents open as well.
FYI: Document A and Document B has the same name only document A is a .DOC file and document B is a .RTF file
Sorry for the long question. I just want to make everything clear.
Thanks
I have a problem which I'm not sure how to solve.
I have a document that has all sort of formatting. Say this is document A. Document A has some images in it. Then I need to select all, copy, and paste special as unformatted text to remove all the formatting to a new document, let's call it document B. When we choose to paste as unformatted text, no images wil be copied to document B.
Is there any way to paste as unformatted text but still copy the images?
Otherwise I found the logic on how to do it but not sure how to implement some stuff. The logic is as the following:
Start with original document A and document B where we paste document A as unformatted text
Find an image in document A.
Copy it.
Collapse the selection to the end and select the next 100 character after the image.
Look for that particular text in document B.
Collapse the selection in document B to the start of the selection
Paste the image there.
This step is repeated until we cannot find anymore image in document A.The problem that I have is how to switch from document A to document B, where it is possible to have other word documents open as well.
FYI: Document A and Document B has the same name only document A is a .DOC file and document B is a .RTF file
Sorry for the long question. I just want to make everything clear.
Thanks