Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-26-2014, 03:46 PM
noeyeddeer noeyeddeer is offline Help with display text for URLs in template Windows 7 32bit Help with display text for URLs in template Office 2010 32bit
Novice
Help with display text for URLs in template
 
Join Date: Oct 2014
Posts: 8
noeyeddeer is on a distinguished road
Default Help with display text for URLs in template

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.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with display text for URLs in template Not press F9 to refresh URLs? 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
Help with display text for URLs in template URLs in citations 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

Other Forums: Access Forums

All times are GMT -7. The time now is 03:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft