![]() |
#1
|
|||
|
|||
![]()
Hi there,
Disclaimer: I know almost nothing about technical computer things or coding! I have been charged with updating a bunch of things to make some of our work processes more efficient. Hopefully i can give the information you need. Our process: We produce media reports in MS Word, using templates, and inserting content from XLSX files through a macro. Each set of data (news story) has two different URLs after it(one to a PDF link, one to a text link). Clients don't want 'ugly' URLS - they want to have 'Print Item' or 'Text Link' displayed. Problem: It takes a damn long time to do that manually, so I am sure there is a way to automate it. The templates and macros look pretty complex to my uneducated eyes. This is what we have: EXTRACT Selection.Style = ActiveDocument.Styles("DB_Content") ActiveDocument.MailMerge.Fields.Add Range:=Selection.Range, Name:="Summary" Selection.TypeParagraph ' URL Selection.Style = ActiveDocument.Styles("DB_Content") Selection.TypeText Text:="Press Clip: " ActiveDocument.MailMerge.Fields.Add Range:=Selection.Range, Name:="Website_URL" Selection.TypeParagraph ' TEXT LINK URL Selection.Style = ActiveDocument.Styles("DB_Content") Selection.TypeText Text:="Text Link: " ActiveDocument.MailMerge.Fields.Add Range:=Selection.Range, Name:="Text_Link" Selection.TypeParagraph Is someone able to help? Sorry for the really vague information...this is my first attempt at this kind of thing. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
ASW122 | Mail Merge | 5 | 07-14-2014 09:35 PM |
How do MS Office products link to URLs? | stegraham | Office | 2 | 10-22-2013 04:52 AM |
![]() |
acappella | Word | 3 | 07-24-2012 03:28 PM |
Template does not display in Installed Templates | JimH | Word | 1 | 02-01-2012 11:59 AM |
mailmerge with custom URLs? | guthrie | Mail Merge | 0 | 03-06-2011 08:39 PM |