My apologies in advance if this is topic has been covered (perhaps multiple times) on this board. I am not quite sure how to phrase the question in succinct search terms.
I have a set of user forms in Excel that prompt for various bits of data, store them in variables, and then writes them to subsequent cells in worksheet.
I am then trying to craft automation code that will write that data to a Word doc. Current I am accomplishing this by selecting a cell, copying, and "paste special" into various bookmarks in Word, but I want to find a more direct approach.
I would like to be able to directly write the value of a variable that I have defined in VBA code from my Excel workbook to a subsequent bookmark in Word. (No cells as a intermediary)
I am trying to avoid using an Excel cell as a go between.
I have a set of user forms in Excel that prompt for various bits of data, store them in variables, and then writes them to subsequent cells in worksheet.
I am then trying to craft automation code that will write that data to a Word doc. Current I am accomplishing this by selecting a cell, copying, and "paste special" into various bookmarks in Word, but I want to find a more direct approach.
I would like to be able to directly write the value of a variable that I have defined in VBA code from my Excel workbook to a subsequent bookmark in Word. (No cells as a intermediary)
I am trying to avoid using an Excel cell as a go between.