![]() |
#1
|
|||
|
|||
![]()
I'm sure this has been asked before, but I am not finding a solution searching this forum. I have been writing several Word VBA scripts in Word 2019, but this is the first time using Excel in a script. Here is my goal:
I make edits to the Excel file, and run the script. Not sure if it should be done from Excel or Word? I want to run some logic on the data to determine the number of days between todays date and the start date, which will be written in the Word document as Project Age. I would like the script to loop through each row in Excel, and if the first column is "include", to include that row in the Word document, otherwise, skip that row. And format the text like the attached Word doc. I'm also attaching a dummy Excel file for reference if anyone can get me started on the right track. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error 5941 Creating a new word document from Excel | Kent Burel | Word VBA | 1 | 06-14-2020 01:35 PM |
![]() |
Wojix | Word | 6 | 08-29-2018 03:33 PM |
![]() |
TMAL | Word VBA | 6 | 12-15-2017 02:16 PM |
![]() |
MagicMan | Word VBA | 1 | 12-01-2017 05:06 PM |
Creating a table in one document of WORD from EXCEL with Mail Merge | Joseph.Comerford@bentley. | Mail Merge | 1 | 04-18-2015 01:19 AM |