Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] shekel2000@gmail.com is offline
external usenet poster
 
Posts: 1
Default Embedding SEQ inside of a LINK field

HELLO ALL,

I'm trying to produce a set of references to a large excel worksheet.

To achieve this i need a set LINK fields that point to a specific row.
In order to have a set for each row i thought of using the SEQ field.

Is it possible to embed SEQ inside of a LINK field?

Any Ideas?

Thanks,
Itay.

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
macropod macropod is offline
external usenet poster
 
Posts: 1,002
Default Embedding SEQ inside of a LINK field

Hi Itay,

Sure is possible.

Probably the best way to go about this is to:
.. copy your first cell in Excel & paste as an unformatted text link in Word,
then select the linked field in Word and press Shift-F9 to expose the field
code. You should see something like:
{LINK Excel.Sheet.8 "C:\\My Documents\\My Workbook.xls" "Sheet1!R10C1" \a
\t}
(this is for a link to Cell A10 on Sheet1, which is linked with row#, col#
notation as "Sheet1!R10C1").
.. select the row number (eg the '10' in "Sheet1!R10C1") and press Ctrl-F9 to
insert a new field, which will be delimited by a pair of field braces (ie
'{ }'). You'll now have something like '{ 10 }' at this point.
.. within the new field braces, and ahead of the row number , type 'SEQ Row
\r '. Your link field should now look like:
{LINK Excel.Sheet.8 "C:\\My Documents\\My Workbook.xls" "Sheet1!R{SEQ Row \r
10 }C1" \a \t}
.. press F9 to update the field.
.. copy the updated field and paste it wherever the second result is to go,
then select this field in Word and press Shift-F9 to expose the field code.
.. delete your equivalent of the ' \r 10 ' from the SEQ field code and press
F9 to update the field. You should now see the result for the next row down.
.. for each subsequent row, simply copy & paste the edited second field, then
press F9 to update the result.

Cheers

--
macropod
[MVP - Microsoft Word]


wrote in message
ups.com...
HELLO ALL,

I'm trying to produce a set of references to a large excel worksheet.

To achieve this i need a set LINK fields that point to a specific row.
In order to have a set for each row i thought of using the SEQ field.

Is it possible to embed SEQ inside of a LINK field?

Any Ideas?

Thanks,
Itay.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert source texts into multiple files and update automatically robfer Microsoft Word Help 9 September 12th 07 10:10 PM
Setting Date property in a form field mdavison Microsoft Word Help 13 October 6th 06 02:43 PM
Fields inside footer -- Last record showing field instead of data Benjamin Bryan Mailmerge 3 October 26th 05 04:02 PM
Text form field inside a WORD table cell, odd behavior when select pwrichcreek Tables 9 October 20th 05 12:34 AM
Can you use mail merge when the address field is inside a text box Fran Mailmerge 1 December 4th 04 04:28 PM


All times are GMT +1. The time now is 04:31 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"