![]() |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Hello,
Is it possible in Word VBA to select 2 distinct parts of the active document, I mean not one after the other? ( as we do with Ctrl + mouse in Word) For example, I have the following content in my document and I want to select paragraph 1 and 3 only. Paragraph 1 Paragraph 2 Paragraph 3 Paragraph 4 Thanks for your help! |
#2
|
|||
|
|||
![]()
No, non-contiguous selections are not possible in VBA.
|
#3
|
|||
|
|||
![]()
Thanks for your feedback Italophile !
Have a nice day ! |
#4
|
|||
|
|||
![]()
While is it is not possible to select it in the sense you ask, it is possible to highlight or manipulate in other ways. What is you end goal?
|
#5
|
|||
|
|||
![]()
Hi, Yes I understand, it's really the non-contiguous selection I wanted, not the highlighting.
I'll work it out another way. Thanks for your reply. |
#7
|
|||
|
|||
![]()
yes, most of the time I use Range and Paragraph, but this was a special case.
Thanks, Italophile! |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Working with an active document and new document to retain styles and cross-referencing | ctviggen | Word VBA | 10 | 01-28-2024 08:46 AM |
Active cell not the one I select with curser. | hayesfam3 | Excel | 0 | 08-15-2019 05:14 AM |
How to save active document to SharePoint document library | Rose roon | Word VBA | 9 | 09-22-2015 10:53 PM |
![]() |
TMinnich | Word | 2 | 10-25-2013 09:38 AM |
Method to active "Select Drawing Objects" | rgustin | Word VBA | 1 | 08-18-2012 11:58 AM |