[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 668
  • Last Modified:

select noncontiguous rows in a table using VBA

Dear Experts:

for some specfic reasons I would like ...
... (1) to select all the rows (of the only table in the current document) where there is an entry in Column A. and alternatively
... (2) to select all the rows where there is no entry in Column C

Most of the rows selected will be non-contiguous then.

Hope this is feasible.

Thank you very much in advance.

Regards, Andreas
0
AndreasHermle
Asked:
AndreasHermle
  • 2
1 Solution
 
Chris BottomleyCommented:
I don't believe you can select non contiguous rows in word.  Is it something that can be looped over?

Chris
0
 
AndreasHermleAuthor Commented:
Hi Chris,

thank you very much for your comment. About ten minutes ago I happened to read a forum post on that subject by a Word MVP who said the same thing.

Thank you very much.

Regards, Andreas
0
 
FlysterCommented:
Hi Andreas,

for some specfic reasons I would like ...

What are you planning to do once all rows are selected? If you want to apply some sort of formatting, that can be done on a row by row basis.

Paul
0
 
AndreasHermleAuthor Commented:
Hi Paul,

thank you very much for your answer. As a matter of fact, I found a workaround for my problem. Thank you anyways.

Regards, Andreas
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now