Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-04-2010, 08:24 PM
northstarman northstarman is offline Help! Find text in doc file & copy to another file Windows XP Help! Find text in doc file & copy to another file Office 2003
Novice
Help! Find text in doc file & copy to another file
 
Join Date: Nov 2010
Posts: 1
northstarman is on a distinguished road
Default Help! Find text in doc file & copy to another file


Help please! Is there a way to find all instances of a given text in a doc file and copy all lines containing it to another file?
Reply With Quote
  #2  
Old 11-05-2010, 08:15 AM
Ulodesk Ulodesk is offline Help! Find text in doc file & copy to another file Windows 7 Help! Find text in doc file & copy to another file Office 2007
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 866
Ulodesk is on a distinguished road
Default Copying lines

This is custom macro territory. You can find text and highlight every instance in 2003, using the Find feature, but capturing and copying the entire line in which the text occurs would require an addition to the macro running this function. It might be a simple as adding one or two lines of code, but it's out of my league.

Allen Wyatt's WordTips.net sells an inexpensive e-book on Word macros, including hundreds of macros and some basics on creating these special routines. You may also find assistance from developers' sites, if you poke around the web a bit for Word macros, Word assistance, free macro help, etc.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Find text in doc file & copy to another file Word Macro: Save file as text with current file name jabberwocky12 Word VBA 2 10-22-2010 12:23 PM
Can no longer copy and paste an email file into a task kc300c Outlook 0 07-16-2010 04:34 PM
How to find the version of word file? mariaprabudass Word 6 04-29-2010 03:33 AM
Find File shadad Excel 0 03-19-2010 05:33 PM
copy a file which does not have copy option jkind Word 0 01-17-2010 09:25 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft