P
Patrick C. Simonds
I am trying to create a form which can be printed and sent to a client to be
filled in (which is easy), I would also like to fill this form in by using
VBA (that was relatively easy to figure out, with help from this group).
My problem is placing the information on the form. I tried drawing text
boxes (Insert - TextBox) on to the form, but could find no way to identify
the TextBox( shape) number so that I could reference it using VBA. Then I
tried using AcxiveX TextBoxes. That worked because I was able to reference
them directly and place my text into the box with VBA, and was also to
reference them in the UserForm Initialize, so that I could populate the
UserForm if I had to come back later to complete the form.
My problem with the ActiveX TextBoxes is that,
1. When I view the document on the computer, even though I set the
TextBox to be transparent, it would block what was behind the TextBox. I
could live with this because what was back there was just the line shape
that I had included on the form for when it was manually filled in, and to
give the form a better appearance when the completed form was printed.
2. Even thought I set the TextBox to be transparent, when ever I would
print the document some (not all) TextBoxes would behave as if they were
opaque blocking the line that was behind them making the printed form look
very unprofessional.
I did try adjusting the height of the TextBox and place it just above the
line (giving up decenders below the line) but the TextBox seems to place
space before and after the text (like a top and bottom margin) so as I would
change the height of the TextBox it would cut off the text.
I just do not know where to go to from here.
filled in (which is easy), I would also like to fill this form in by using
VBA (that was relatively easy to figure out, with help from this group).
My problem is placing the information on the form. I tried drawing text
boxes (Insert - TextBox) on to the form, but could find no way to identify
the TextBox( shape) number so that I could reference it using VBA. Then I
tried using AcxiveX TextBoxes. That worked because I was able to reference
them directly and place my text into the box with VBA, and was also to
reference them in the UserForm Initialize, so that I could populate the
UserForm if I had to come back later to complete the form.
My problem with the ActiveX TextBoxes is that,
1. When I view the document on the computer, even though I set the
TextBox to be transparent, it would block what was behind the TextBox. I
could live with this because what was back there was just the line shape
that I had included on the form for when it was manually filled in, and to
give the form a better appearance when the completed form was printed.
2. Even thought I set the TextBox to be transparent, when ever I would
print the document some (not all) TextBoxes would behave as if they were
opaque blocking the line that was behind them making the printed form look
very unprofessional.
I did try adjusting the height of the TextBox and place it just above the
line (giving up decenders below the line) but the TextBox seems to place
space before and after the text (like a top and bottom margin) so as I would
change the height of the TextBox it would cut off the text.
I just do not know where to go to from here.