View Single Post
  #2   Report Post  
Posted to microsoft.public.word.tables
RichN RichN is offline
external usenet poster
 
Posts: 6
Default How do I determine if an entire cell is selected vs...

Hi David,

I don't know if this will help - I don't really know Visual Basic - but I do
know that there are different ways to "access" a cell. You can click into
the cell - between characters. You can also use the arrow to select the
cell. Or you can use the right arrow key to move from the last character in
a cell to the first character in the next cell. Maybe using the arrow key is
what you want?

Rich

"David Cardinale" wrote:

Hello,

I am trying to figure out how I can programatically determine if an entire
cell has been selected (by the user clicking on the border around the cell)
as opposed to simply having the cursor in the cell. I've tried everything I
can think of with Word.Selection but can't find any differences.

My problem is that I am inserting bookmarks into the cell, but whenever the
entire cell is selected, Word's formatting character for the cell ends up
within the bookmark and I need to prevent this.

Thank you.

David