self-starting fill-in fields

A

aleeherself

Hi!

I have a protected form that is malfunctioning. When the user copies text
from a Word document, one block of the lines right justify, then it goes back
to left justify. I have opened and checked the original document and that
cell of the table is set to left justify. AND the cell in the table that I
copied from was also coded to left justify. Any suggestions?

Thanks,
 
A

aleeherself

OOPS!!

I put the wrong title on this inquiry. This thread should be about: How do
I get my form to automatically have the fill-in fields windows pop up when
the document is opened. Right now, I have to print the form before they will
pop up. I also tried saving it as a .dot and that didn't work either. It is
also not feasible to install them in the document template section because it
will be accessed from our intranet.

Thanks, and sorry for the confusion.

Audrey
 
D

Doug Robbins - Word MVP

Create an AutoOpen macro containing the code

ActiveDocument.Range.Fields.Update

However, I would recreate the document with a userform in it as being
blasted with a series of Fillin boxes would drive me insane.

See the article "How to create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm

or the following pages of fellow MVP Greg Maxey's website :

http://gregmaxey.mvps.org/Create_and_employ_a_UserForm.htm

http://gregmaxey.mvps.org/Populate_UserForm_ListBox.htm






--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
A

aleeherself

Doug, thank you so very much. I did wat the instructions said but the user
form did not pop up. It is in the template, but I did not want to store the
template in the "new>templates on your computer" section. Is that why it is
not working? This form will be used by multiple users and posted on our
intranet and have to be self sufficient. Here is what I did:
User Form:
Private Sub CommandButton1_Click()
With ActiveDocument
.Bookmarks("FirstName").Range _
.InsertBefore FirstName
.Bookmarks("LastName").Range _
.InsertBefore LastName
.Bookmarks("Accomplishment").Range _
.InsertBefore Accomplishment
End With

UserForm1.Hide

End Sub

Then, as instructed on the template:
Sub autonew()
'
' autonew Macro
' Macro created 04/21/2009 by alee
'
UserForm1.Show
End Sub

Thanks!

Audrey
 
D

Doug Robbins - Word MVP

You need to use File>New and then select the template for the AutoNew macro
to run.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top