+ Reply to Thread
Results 1 to 6 of 6

HELP! Runtime error 13 Sending two non-contiguous rows as a table

  1. #1
    Registered User
    Join Date
    03-09-2012
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2007
    Posts
    31

    Question HELP! Runtime error 13 Sending two non-contiguous rows as a table

    Hi,

    I have the code below and I'm trying to send two non-contiguous rows in an email to make it look like a table. I have this line of code below that's causing the error.
    Please Login or Register  to view this content.
    How else would I do this?? Please help. The entire code is below
    Please Login or Register  to view this content.
    the RangetoHTML function is below also
    Please Login or Register  to view this content.
    Last edited by g1987; 03-15-2012 at 04:28 PM.

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: HELP! Runtime error 13 Sending two non-contiguous rows as a table

    Possibly using the Union method...?

  3. #3
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: HELP! Runtime error 13 Sending two non-continuous rows as a table

    Hi g1987, I don't know if this is the issue but your line:
    Please Login or Register  to view this content.
    does not explicitly call the cells on Sheets("Jan. 2012"). try
    Please Login or Register  to view this content.
    If you have a lot of lines that are being declared from sheet("Jan. 2012") then you may be better off explicitly declaring the worksheet as WsJan like in the following:
    Please Login or Register  to view this content.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  4. #4
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: HELP! Runtime error 13 Sending two non-contiguous rows as a table

    Why would you post the same question twice? All this does is clutter the forum. Thread will be closed.

  5. #5
    Registered User
    Join Date
    03-09-2012
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: HELP! Runtime error 13 Sending two non-contiguous rows as a table

    Hi Mordred,

    I tried what you suggested and it doesn't work.

    As for the duplicate post, I thought I was successful in deleting it. How can I remove the old post?

  6. #6
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: HELP! Runtime error 13 Sending two non-contiguous rows as a table

    No worries, the dup post has been taken care of.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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