T
TimvG
I'm trying to so something that seems like it should be simple: move a
range down a line.
For a selection, this is easy; use
Selection.MoveDown
or alternatively
Selection.Move Unit:=wdLine, Count:=1
I was thinking that it should be much the same for a range. Alas...
The MoveDown method is not available for ranges. Ok, so I'll use
MyRange.Move Unit:=wdLine, Count:=1
But this returns a "Bad parameter" error.
This is weird because all *other* wdUnits seem to work fine with
MyRange.Move - e.g.
MyRange.Move Unit:=wdRow, Count:=1
works fine.
So why do ranges hate wdLine?
More generally, how can I move my range down?
Any tips appreciated...
range down a line.
For a selection, this is easy; use
Selection.MoveDown
or alternatively
Selection.Move Unit:=wdLine, Count:=1
I was thinking that it should be much the same for a range. Alas...
The MoveDown method is not available for ranges. Ok, so I'll use
MyRange.Move Unit:=wdLine, Count:=1
But this returns a "Bad parameter" error.
This is weird because all *other* wdUnits seem to work fine with
MyRange.Move - e.g.
MyRange.Move Unit:=wdRow, Count:=1
works fine.
So why do ranges hate wdLine?
More generally, how can I move my range down?
Any tips appreciated...