Click to See Complete Forum and Search --> : Word Form with fields
dglienna
May 27th, 2005, 03:06 PM
I need to make a form with fields that a user can fill in. I am having a problem, as the field size is changing when I try to enter data into it, even when I locked changes to the template.
Is there a simple way to do this, or should I be looking at using something else, like a VB program with a RTB? This would be like the first line. When I type in the name, the date moves to the right.
Name _____________ Date __________
Now, using tables, but it still seems like the hard way. Any hints?
dglienna
May 28th, 2005, 02:18 AM
Nobody has a better method? I don't need to save the data, just get it printed out without using pen and paper. Of course, the next step would be saving the data, so I don't want to lock that out either.
I think it's going to work out. Maybe not perfectly the first time, but I did half of the 4 pages today, and it seems OK.
I was hoping someone had a comment before I got to the point of no return or had to redo. I don't like doing something twice :)
opus
May 28th, 2005, 02:40 PM
I believe you can set the properities of such fields to allow less then unlimited characters.
I recorded a macro while doing that
CommandBars("Forms").Visible = True
Selection.FormFields.Add Range:=Selection.Range, Type:= _
wdFieldFormTextInput
Selection.PreviousField.Select
With Selection.FormFields(1)
.Name = "Text2"
.EntryMacro = ""
.ExitMacro = ""
.Enabled = True
.OwnHelp = False
.HelpText = ""
.OwnStatus = False
.StatusText = ""
With .TextInput
.EditType Type:=wdRegularText, Default:="", Format:=""
.Width = 11
End With
End With
I hope that helps!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.