If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Automatic Numbers in Table Cell
I have a table where the first column has automatic numbers. I have a macro
that copies the next number and pastes it (unformatted text) somewhere else in the document. This works fine if I'm copying and pasting unformatted text from regular numbered paragraphs but it does not work when I am pasting unformatted text from a table. With the table, it continues to only give me the #1. Is there a way of getting the actual number you are copying? -- Debra Ann |
#2
|
|||
|
|||
Automatic Numbers in Table Cell
Do you get a different result if you make sure NOT to include the
end-of-cell marker as you copy the numbered paragraph? (If you need more information about displaying markers in Word, see: http://word.mvps.org/faqs/formatting/NonPrintChars.htm.) Alternatively, instead of pasting as unformatted text, you can use InsertReferenceCross-Reference (InsertCross-Reference in Word 2000/97) to create references to your numbered paragraphs. The Cross-Reference dialog box inserts REF fields which you can update to match changes in the numbered list. To update all cross-references (and other fields), just select the entire document and press F9. -- Stefan Blom Microsoft Word MVP "Debra Ann" wrote in message ... I have a table where the first column has automatic numbers. I have a macro that copies the next number and pastes it (unformatted text) somewhere else in the document. This works fine if I'm copying and pasting unformatted text from regular numbered paragraphs but it does not work when I am pasting unformatted text from a table. With the table, it continues to only give me the #1. Is there a way of getting the actual number you are copying? -- Debra Ann |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need to Improve Code Copying/Pasting Between Workbooks | David | General Discussion | 1 | January 6th, 2006 03:56 AM |
20x20 multiplication table | Bob S | Tables | 2 | December 24th, 2005 02:27 PM |
Possible Lookup Table | Karen | Worksheet Functions | 5 | June 8th, 2005 09:43 PM |
GET.CELL | Biff | Worksheet Functions | 2 | November 24th, 2004 07:16 PM |
IF E3 & E10 = TRUE set this cell to "Yes", else set to "No" | Timothy L | Worksheet Functions | 5 | August 27th, 2004 02:28 AM |