VBA Textboxes to PDF file

rockchalk33

Board Regular
Joined
Jan 12, 2016
Messages
111
Hey all,

I have a userform with many textboxes, similar to a questionaire. I need these textboxes to go to their specific locations in a PDF file. How can I do this?


Devin
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Not sure I understand your question man? I'm simply trying to eliminate the pencil/paper process of answering multiple questions. I instead utilized a VBA userform and inputboxes which then loads the answers into textboxes within the userform. I would like to ultimately have a button on the userform that reads "export" and have all the information go to a specific location on the PDF file.

Thanks,

Devin
 
Upvote 0
This is actually a word document
This code for CommandButton1 in UserForm1 inserts text of TextBox1 to the selection of the active Word document
Rich (BB code):
Private Sub CommandButton1_Click()
  GetObject(, "Word.Application").Selection.Text = TextBox1.Text
End Sub
 
Upvote 0

Forum statistics

Threads
1,215,426
Messages
6,124,828
Members
449,190
Latest member
rscraig11

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top