Thread: Table Question
View Single Post
  #2   Report Post  
Posted to microsoft.public.word.newusers
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default Table Question

Hi Spike9458,

I have a table setup to prepare a newspaper ad with a limit on number of
characters. Each cell of the table is intended to contain just one
character.

Is there a way I can format the table so that once a character is typed in
the cell, the cursor automatically advances to the next cell? Right now I
have to use the tab or arrow key to advance to the next cell.

No, there's nothing built into a Word document that allows you to do this.
Conceivably, you could create a macro and assign it to all possible characters
that could be typed. It would have to trap whether the focus is in the table,
then react accordingly. Rather advanced to realize, however - you'd want to
take this up in the word.vba.general newsgroup.

However, why not display a UserForm (custom dialog box) for getting this
information? Textboxes in a UserForm do support "automatic jumping" and the
macro code can then write the information into the table cells. Here, again,
you'd want to follow-up in word.vba.general.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)