R
Roderick O'Regan
I have a textbox into which my procedure has inserted an inlineshape -
a photo for a CV.
The code next causes the selection to collapse within the text box.
I now want to break out of that text box and cause the selection point
to move to paragraph mark close by.
Manually, I've figured out to achieve this I would press ESC key
twice. I've translated this to some code and arrived at the following:
With Selection
.ShapeRange.TextFrame.TextRange.Select
.Collapse
.ShapeRange.Select
.Collapse
End With
Nothing! The cursor justs sits inside the box.
I've tried using the ("\Page") bookmark to break out but still no joy.
Reading through this newsgroup I've seen some great code to make
txtboxes even do cartwheels but nothing on how to get out of the pesky
critters.
Can anyone help, please?
Roderick
a photo for a CV.
The code next causes the selection to collapse within the text box.
I now want to break out of that text box and cause the selection point
to move to paragraph mark close by.
Manually, I've figured out to achieve this I would press ESC key
twice. I've translated this to some code and arrived at the following:
With Selection
.ShapeRange.TextFrame.TextRange.Select
.Collapse
.ShapeRange.Select
.Collapse
End With
Nothing! The cursor justs sits inside the box.
I've tried using the ("\Page") bookmark to break out but still no joy.
Reading through this newsgroup I've seen some great code to make
txtboxes even do cartwheels but nothing on how to get out of the pesky
critters.
Can anyone help, please?
Roderick