Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
I have a Word document that includes links to a number of tables in an Excel
spreadsheet. The links are defined in terms of defined names in the spreadsheet. I'd like to be able to link to different tables depending on the value of a custom property in the Word document but I can't get this to work. e.g. the following works OK: {LINK Excel.Sheet.8 \\\\domain.com\\mypath\\MyExcelFile.xls MySheet!Name_UK \f 0 \p} but I'd like to use something like {LINK Excel.Sheet.8 \\\\domain.com\\mypath\\MyExcelFile.xls MySheet!Name_{DOCPROPERTY Region} \f 0 \p} Where the names Name_UK, Name_US etc. are defined within the Excel sheet and 'Region' is a property of the Word document. However it doesn't work at least with this syntax (I just get an 'Error! Not a valid link' message). Does Word actually support this or does anyone know a different way to implement this functionality? I realise one alternative would be to have a number of nested {IF } statements for the different regions but that will get very messy and hard to maintain. TIA TishyMouse |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using a conditional parameter within the LINK field | Microsoft Word Help | |||
conditional field layouts | Mailmerge | |||
Conditional Wordart via Mailmerge-Field? | Mailmerge | |||
Link a Field to an Embedded Worksheet & have the link follow "save | Microsoft Word Help | |||
Conditional merging a field and formating it | Mailmerge |