Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-19-2023, 07:01 PM
Chayes Chayes is offline Highlighting just the address Windows 7 32bit Highlighting just the address Office 2003
Advanced Beginner
Highlighting just the address
 
Join Date: May 2012
Posts: 79
Chayes is on a distinguished road
Default Highlighting just the address

I need some advice on solving a puzzle.



I have two types of document after processing. Those with the recipient address at the top of the page , and those where the recipient address is at the bottom.

In both documents these addresses are always top or bottom of the page in the same place , but do vary in size in terms of the amount of lines they occupy , and lines of other information above and below them.

For each , I need a reliable way to select and copy just the address in each. I've tried various ways but not found anything to cope with the variant size of the address.

I'm hoping that someone can suggest some VBA to select the address whether it be at the top or the bottom of the document in a reliable way. Perhaps it will need separate macros for each type.

Perhaps selecting between the beginning of the address to the next return on the page where it is at the top , or from the end of the address to the first return above where it is at the bottom.

I'll attach samples of each. Grateful for any advice.


Attached Files
File Type: doc Sample4.doc (22.5 KB, 4 views)
File Type: doc Sample5.doc (22.5 KB, 4 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
outlook app of android changes outgoing email address to a gmail address bruegel Outlook 0 01-05-2023 08:13 AM
Highlighting just the address MAIL Merge - Site Address / Invoice address mgsjarvis Mail Merge 3 09-25-2018 02:43 PM
Differentiate between my address and my address in a Distribution List fogyreef Outlook 1 01-14-2016 12:45 AM
Add link to email address that hides the actual address or makes it inaccessible to online bots richiebabes Word 1 09-03-2014 03:22 PM
HELP! Outlook 2003 Address Books - multiple account address lists ukmonkeynuts Outlook 0 06-01-2011 06:18 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:32 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