Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-05-2021, 05:41 AM
VBAFiddler VBAFiddler is offline extending a selection Windows 10 extending a selection Office 2016
Novice
extending a selection
 
Join Date: Feb 2021
Posts: 14
VBAFiddler is on a distinguished road
Post extending a selection

Hi,
Not quite sure how to achieve this. I'm searching for a reference or references, they all begin Ref: followed by two digits. This is followed by various characters, and I need to extend the selection to include these.
I assume I need to use "With Selection", and what I want to do is to extend the selection until there is a punctuation mark, or a space. I started by just adding 7 to the .end of a range, but that excluded some and sometimes included bits I didn't want.
I've not included any of my code as I'm not entirely sure where to start with this,
Thanks,


David.
Reply With Quote
 

Tags
extend, selection, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
typing "scr" and problem with "extending selection" danielmatt Word 16 07-21-2019 12:31 PM
Extending or shortening an existing line ironman1159 Drawing and Graphics 0 07-01-2019 03:06 PM
extending a selection Resource not getting enough hours allocated to them, therefore extending duration joday48 Project 1 08-01-2014 08:54 AM
extending a selection Extending Table or Textbox to Next Page Jazz43 Word 3 10-17-2012 01:43 AM
extending an arrow? danjohnson10 PowerPoint 1 04-23-2011 04:39 PM

Other Forums: Access Forums

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