Hello everyone, I have a question as to if the below scenario is possible.
In my workbook, my data is stored on sheet “Main”, and I would like to know if it is possible to create the following code to run in a userform of excel:
I would like all rows from sheet “Main”, that contain a value of “X” in column D to run an excel to word export macro individually. Each row contains data that will relate to a bookmark on a word export template file (docx). I already have a few template macros (that I've found on here!) that I will be able to tweak when the time comes... in order to manage my data export.
As an example, if there were 15 rows of data that contained value “X” (from column D), the macro would have ran 15 times and 15 separate word documents would generate as a result.
NOTE: The operation itself will be executed by a user form. “X” Value will be chosen by a Userform combo box, and a command button will start the macros once clicked. Also note “X”=ticket number i.e. “13-QA-000”.
Is something like this possible?
In summary: Userform combo box selection filters “Main” data for all data related to selection of “column D” i.e “X”. User presses a button that runs a macro for each row of data related to value “X”.
This is my first time posting on here, so I would like to apologize if I didn’t follow any forum guidelines.
Thanks all in advance!!!
Bookmarks