+ Reply to Thread
Results 1 to 7 of 7

How to take results of this code and place it in col 3 of a new table

  1. #1
    Registered User
    Join Date
    02-02-2012
    Location
    Austin, Texas
    MS-Off Ver
    Office 365
    Posts
    33

    How to take results of this code and place it in col 3 of a new table

    Greetings all,

    I have a question regarding the process for taking the data of the code below and writing it in to three separate blocks in a new table in the same document using vba.
    Thanks in advance to those who have an idea how to resolve this.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: How to take results of this code and place it in col 3 of a new table

    You say you want to write the data:
    to three separate blocks in a new table in the same document
    Where in the document?
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Registered User
    Join Date
    02-02-2012
    Location
    Austin, Texas
    MS-Off Ver
    Office 365
    Posts
    33

    Re: How to take results of this code and place it in col 3 of a new table

    The table is on the 1st page (cover page) of the same document and serves as a summary of the remaining pages.

  4. #4
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: How to take results of this code and place it in col 3 of a new table

    Does the table already exist?

  5. #5
    Registered User
    Join Date
    02-02-2012
    Location
    Austin, Texas
    MS-Off Ver
    Office 365
    Posts
    33

    Re: How to take results of this code and place it in col 3 of a new table

    Yes it does.

  6. #6
    Registered User
    Join Date
    02-02-2012
    Location
    Austin, Texas
    MS-Off Ver
    Office 365
    Posts
    33

    Re: How to take results of this code and place it in col 3 of a new table

    I realize that my initial cod econtains an error in line 7 and have corrected it.

    It now reads:
    Please Login or Register  to view this content.

  7. #7
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: How to take results of this code and place it in col 3 of a new table

    Ah, yes, that's what I was wondering about!! Try adding something along the lines of the following after your existing 'End With':
    Please Login or Register  to view this content.
    This will populate A2, B2 & C2 in table 1.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1