![]() |
|
#1
|
|||
|
|||
![]()
I am creating a program that contains text boxes and combo boxes in Visual basic using visual studio professional 2010. I was wondering if anyone knows how to or where I can go to find out how to have the data that the user can enter and when done generate to a word template? Or is this even possible?
|
#2
|
|||
|
|||
![]()
You might want to look at Create a Simple Userform
That is about vba rather than visual basic but covers the basics. Why are you generating a template rather than a document? You might want to start with a template that calls your userform when called to create a new document and then populates the document from information in the userform. |
#3
|
|||
|
|||
![]()
Thank you for your help. What I am trying to do is create a program and after the user finishes entering data a report can be generated to a word document.
|
#4
|
|||
|
|||
![]()
The simplest way is probably to skip visual studio and just use vba in a template. Have the AutoNew macro or Document_New event trigger your userform. The article I referred you to should give you what you need.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
showing a userform after hiding | jillapass | Word VBA | 0 | 05-31-2012 06:13 AM |
Specific and no other interaction points? | anevins | PowerPoint | 0 | 03-20-2011 11:37 AM |
Outlook userform validation help | aiwnjoo | Outlook | 0 | 12-08-2010 12:57 AM |
Displaying data from spreadsheet in Userform | darklide | Excel | 0 | 03-12-2010 05:42 AM |
[Word 2003] Macro's and a UserForm | xanuex | Word VBA | 0 | 10-19-2009 05:42 AM |