Table columns

S

Steve Cross

I have selected a column in a 'Word' table and performed some action on it,
now I want to step along to the next column right in the same table. Can
anyone tell me how to do this in VBA please.
Thanx,
Steve.
 
D

DWW

Sorry, Steve:

This was all I could come up with. After about 3 hours of experimenting, I
couldn't figure out how to go to a particular cell without moving one column
or one row at a time.

If all you want to do is move one cell at a time, this should help.

Move around in table:

Selection.MoveRight Unit:=wdCell
Selection.MoveLeft Unit:=wdCell
Selection.MoveUp Unit:=wdLine, Count:=1
Selection.MoveDown Unit:=wdLine, Count:=1

Of course, I have only been trying to program in VBA for a few months. I am
still stumbling around in the dark.

HTH
DWW
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top