+ Reply to Thread
Results 1 to 4 of 4

Copying column within With statement

  1. #1
    Forum Contributor
    Join Date
    12-31-2008
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    149

    Copying column within With statement

    I'm trying to copy a column from one sheet to another within a With. I was hoping the below would work, but I get Runtime Error 424 Object Required error message.
    Please Login or Register  to view this content.
    Any ideas what I'm doing wrong?

    Thanks
    Last edited by bd528; 09-13-2010 at 07:24 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Copying column within With statement

    bd, please wrap your code in code tags, however short the snippet may be.

  3. #3
    Forum Contributor
    Join Date
    12-31-2008
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    149

    Re: Copying column within With statement

    Figured it out - I hadnt defined shtemp2.

    Cheers!

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Copying column within With statement

    Thanks for
    - wrapping your code in tags
    - coming back to share your solution
    - bothering to mark the thread closed.

    Please post more often!

+ 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