Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2014, 04:11 AM
RG87 RG87 is offline Word VBA - Save file as a string contained within the word (always same row and leng) Windows XP Word VBA - Save file as a string contained within the word (always same row and leng) Office 2003
Novice
Word VBA - Save file as a string contained within the word (always same row and leng)
 
Join Date: May 2014
Posts: 1
RG87 is on a distinguished road
Default Word VBA - Save file as a string contained within the word (always same row and leng)

Hi,



I was wondering if anyone could help me?

Is it possible to save a word document containing a word that is within the document itself that is always on row 7 using VBA?

Anyones input would be very much appriciated.

Many thanks,

Rochelle
Reply With Quote
  #2  
Old 05-21-2014, 05:39 AM
macropod's Avatar
macropod macropod is offline Word VBA - Save file as a string contained within the word (always same row and leng) Windows 7 32bit Word VBA - Save file as a string contained within the word (always same row and leng) Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Rochelle,

Lines & rows have no particular meaning in Word, except for table rows. As a wysiwyg word processor, what's on a line on your setup could be on a different line on mine.

You need to be more specific about how this line is to be located, and where on the line the string you're interested in is to be found. For example, it might be in the 3rd physical paragraph on the page, where a paragraph is defined by what you'd ordinarily see as a ¶ symbol when the formatting display is on. And within that paragraph, you might have manual line breaks, indicated by the ↵ symbol. Finally, the string might be the 4th word on the line.

Remember, a macro can't see what's on the page; it has to be given directions.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word VBA - Save file as a string contained within the word (always same row and leng) Way to search for a string in text file, pull out everything until another string? omahadivision Excel Programming 12 11-23-2013 12:10 PM
Word delete page if string is not contained wolfking333 Word VBA 0 06-23-2013 10:02 AM
Word VBA - Save file as a string contained within the word (always same row and leng) Macro to create new word doc and save the file using String found in the document VBNation Word VBA 2 02-08-2013 07:14 AM
Word VBA - Save file as a string contained within the word (always same row and leng) Macro VBA "Save as" with bookmarks in file name string Dom37 Word VBA 2 10-31-2011 03:28 AM
Merging a Word doc with VB functions contained adamwbrown Word 0 08-13-2008 06:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:51 AM.


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