Prpikachu
02-16-2017, 06:04 AM
Hi,
I am thinking about creating some interactive userforms autogenerated from bookmarks, if possible.
The idea would be as follows:
- I would have a Word document with several bookmarks. The bookmarks' names would reflect their type (i.e. those which simply require a textbox asking for the corresponding content will start with "TB", those which require a yes/no response in a checkbox to keep or delete the bookmark content will start with "YN" or "CB", etc.).
- The userform to populate the word document should be autogenerated from its content.
- That is: the VBA code should go thorugh the list of bookmarks and, depending on its type (the initial TB, CB, etc.) should display a textbox (the label would reflect the rest of the name of the bookmark's name), a checkbox, etc.
- Then, the responses would populate the word document as expected (inserting answers from textboxes, deleting or keeping optional contant, etc.)
Does all of this make sense? It is possible to do something similar?
Ideally, the different textboxes, checkboxes, etc. should be somehow grouped, not just individually displayed, but I do not know if it is possible to display, let's say, 10 of them each time, with a Next button to go to the next page with 10 more...
Any idea that may help to understand if this is the best approch would be welcome.
Thank you!
I am thinking about creating some interactive userforms autogenerated from bookmarks, if possible.
The idea would be as follows:
- I would have a Word document with several bookmarks. The bookmarks' names would reflect their type (i.e. those which simply require a textbox asking for the corresponding content will start with "TB", those which require a yes/no response in a checkbox to keep or delete the bookmark content will start with "YN" or "CB", etc.).
- The userform to populate the word document should be autogenerated from its content.
- That is: the VBA code should go thorugh the list of bookmarks and, depending on its type (the initial TB, CB, etc.) should display a textbox (the label would reflect the rest of the name of the bookmark's name), a checkbox, etc.
- Then, the responses would populate the word document as expected (inserting answers from textboxes, deleting or keeping optional contant, etc.)
Does all of this make sense? It is possible to do something similar?
Ideally, the different textboxes, checkboxes, etc. should be somehow grouped, not just individually displayed, but I do not know if it is possible to display, let's say, 10 of them each time, with a Next button to go to the next page with 10 more...
Any idea that may help to understand if this is the best approch would be welcome.
Thank you!