![]() |
|
|
|
#1
|
||||
|
||||
|
This would be quite simple using the DATABASE field approach, for which all you need in addition to the worksheet sheet containing the answers is a sheet containing just the course IDs. Once it's configured that way, simply insert as many DATABASE fields as you have questions to report on. The basic DATABASE field would look something like:
{DATABASE \d "{FILENAME \p}/../Survey Data.xlsx" \s " SELECT [Question_1] FROM [Sheet1$] WHERE [Course_ID] = {MERGEFIELD Course_ID}" \l "15" \b "49" \h} Since you haven't told us anything about the actual workbook & worksheet names, I'm unable to use those. The workbook name would replace 'Survey Data' and the worksheet name would replace 'Sheet1'.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VBA code to CC multiple people in mail merge by word | kuankailok | Mail Merge | 3 | 05-04-2020 02:08 PM |
How to make MATCH/INDEX formula return multiple successive responses.
|
danigirl121 | Excel | 7 | 06-08-2016 01:57 PM |
| Task List Reports | dbsoccer | Outlook | 1 | 04-06-2013 06:33 AM |
Merge Reports...
|
DMA-Pacific | Word | 1 | 03-27-2012 11:49 PM |
| Sending multiple responses to an individual | ladeda16 | Outlook | 0 | 10-06-2009 03:18 PM |