![]() ![]() You may then want to use the "Robbins/Mayor" macro to split the generated documents. I tried pasting the code from this thread in the VBA editor and I get an. ![]() The resulting formulae can then be pasted into a macro and run on the output document. messages.html with MS Word for adding delays between Mail merge messages sent. If the includes a query string, you may find you want to build it using a formula, based on other data in the source. You need to amend, and to the appropriate cell references. Into a blank column in the first row, and fill down. You then need to put your source data into Excel (if that isn't where you have it already) and put this formula ="Set Rng = ActiveDocument.Content: FindText:="""&""": Anchor:=Rng, Address:="""&""", TextToDisplay:="""&"""" In your table of source data, you need columns place marker, text_for_display, hyperlink The trick is to add a place marker (text that serves as an ID) wherever you want a hyperlink. Note that this only works for DOCUMENT MERGES, not for EMAIL MERGES, since it relies on processesing the output document. There is a simple alternative - indeed the only alternative AKAIK if you want the hyperlink to vary AND the text that is displayed to vary too (not an unreasonable requirement). I have had limited success with the other suggestions - basically, Word is buggy in this area. ![]() I like to style the period text color to white so it looks invisible.You will see the correct link in the address field for each record. To check that the hyperlinks are mapping, right click on the link display text and click edit hyperlink.Make sure not to delete the period (this is important). Put the insertion point just before the period in ‘Error! Hyperlink reference not valid text.’ and delete all the text except for the period.You now have Error! Hyperlink reference not valid text. The text Error! Hyperlink reference not valid In the Field names list, click Hyperlink,Īnd then click OK.On the Insert menu, click Field (under Quick Parts in later office versions). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |