+ Reply to Thread
Results 1 to 2 of 2

copy destination with variable worksheet names

  1. #1
    Registered User
    Join Date
    09-22-2009
    Location
    Hobart, Australia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Question copy destination with variable worksheet names

    Hello Everyone,

    in the code below im getting a type mismatch error where it sets ws3. the code actually shows the right value when i scroll over it in debug mode and im unsure how to resolve the problem.

    Please Login or Register  to view this content.
    any assistance would be greatly appreciated
    Regards
    Mag
    Last edited by Maglor; 09-30-2009 at 10:52 PM. Reason: figured it out

  2. #2
    Registered User
    Join Date
    09-22-2009
    Location
    Hobart, Australia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: copy destination with variable worksheet names

    for anyone else out there with a similar problem, i changed the order of the defining and instead of trying to call it by name i used the active sheet method.

    see code below

    Please Login or Register  to view this content.
    for the few people who took an interest
    Cheers
    Mag

+ 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