• Copy and paste text automaticaly (Office 2000, W SR-1)

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Copy and paste text automaticaly (Office 2000, W SR-1)

    Author
    Topic
    #369796

    Is there a function in Word that gives me the possibility to automatically updating text inserted one place and copy it to another place in the same document.

    Thought Paste Special could have solved the task, but can’t find out how. Using “Table/Formula” only seem to work for calculations.

    Situation is:
    I have a table where text in a cell will be changed by inserting new text. This text should be copied to another table cell situated in the footer of other pages in the same document.

    It should work the same way as in Excel where a function can update another cell content by using a formula.

    Thought this could be done without writing VBA code.

    Hope for a solution!

    Best regards
    Bj

    Viewing 2 reply threads
    Author
    Replies
    • #583150

      Look in help for INCLUDE or INCLUDETEXT, which might give u the functionality u need.

    • #583151

      Hello Bj

    • #583258

      Hi Bjorn:

      This is an interesting problem. I don’t think that either Paste Link or Ref fields will work for you. They will work the first time you use them by creating a bookmark & then a link (or ref field, which is also a link).

      However, when you tab into a table cell, the entire cell is selected. When you type, you delete the bookmark. You could create your bookmark with a space on each side of the text to be copied, still within the bookmark. But you’d have to use the arrow key to carefully select the text to be changed without deleting the bookmark. This makes it unwieldy.

      A better solution (the only one I can think of, too) is to use a form with formfields. Then you can copy your table to a footer & use REF fields.

      An example of that is attached. This is an employee evaluation form, where the repeating heading is placed on each page after the first.
      1. Create the table in the main body of the document.
      2. Copy & paste it into the header.
      3. Insert form fields into each cell of the table in the main document. They will each have a bookmark name. Copy them down.
      4. Create REF fields in each cell of the header/footer by pressing Ctrl+F9. Use the following syntax:
      { REF BookmarkName }
      where BookmarkName is the name of each respective formfield in each cell.
      5. Protect your document for forms.

      • #583321

        Thanks a lot to all of you!!

        It works!

        Phil, your right about that the bookmark disappears. I cannot use “protect document” because all word functions must be available when the document template (which this is) is to be used. I used spaces, as you suggest but put rules to the user as follows:

        […DoubleClickOrMarkThisTextAndThenClickInsertDocID…]

        The bookmark is called DocID1 and in the cell of a table in the footer on the next pages I inserted: REF DocID1 as the reference.

        By “forcing” the user to doubleclick (as is said in the text within the bookmark), only the text is marked and the Doc. ID can be inserted (by clicking a button that creates the document identification number). Then the bookmark remains.

        If it by accident should be removed, the Doc. ID number remains. This number should by not be removed anyway. If removed the document has become another document or version.

        I have at the same time inserted a comment on a leading text for the Doc. ID number, named: Doc. ID:

        The comment I have written pops up as usual. But I’m not able to change the font size of the comment text shown on the screen.
        Is it possible and if so how??

        Well, thanks to everyone for a big help.

        Best regards
        Bj

        • #583325

          > The comment I have written pops up as usual. But I’m not able to change the font size of the comment text
          > shown on the screen. Is it possible and if so how??

          It is determined by the Tooltip setting in the Display control panel:

          • #583327

            Thanks a lot jscher2000!

            Could not find it in Word’s Help.

            About my other question:

            How can I show an inserted picture in the pop up from a comment??

            Best regards
            Bj

            • #583510

              I can’t recall ever seeing a ToolTip with a graphic in it, so although I have not researched it, I wouldn’t have high hopes that it is possible.

    Viewing 2 reply threads
    Reply To: Copy and paste text automaticaly (Office 2000, W SR-1)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: