
Handling cut and paste through VBa
Hi Code_dc,
Couple of problems with this
1) a Formfield already is a bookmark. So theoretically you have no problem
getting the text the user typed out of the formfield
2) However, the user cannot format freely in a form field, because in a
document protected for forms, the formatting commands are unavailable. You
can get around this with VBA, but it would have to be very extensive to cover
all the formatting the user might want.
3) Can you store (Word) formatting in an SQL table?
Quote:
> I am trying to create a VB aplication that will copy any text in any format
> inserted by a Word user after my bookmark. How do I make this code work?
> My pseudo code is a follows:
> open word
> find location of my next bookmark
> move cursor to positio nidentified by bookmark
> insert a form field
> In form field permit user to enter- multiple paragraphs of any free form
> text.
> The above text can be in any format
> Copy the contents of the field including format
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://go.compuserve.com/MSOfficeForum
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)