+ Reply to Thread
Results 1 to 8 of 8

how to copy a range from a specific worksheet

  1. #1
    Forum Contributor
    Join Date
    08-03-2012
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    120

    how to copy a range from a specific worksheet

    hi guys,
    sorry but i am a n00b in regards to code writing. i want the following code to be changed in such a way that the sheet2 of ws=activesheet is selected. how do i do this?


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: how to copy a range from a specific worksheet

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-07-2014
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    95

    Re: how to copy a range from a specific worksheet

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    08-03-2012
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    120

    Re: how to copy a range from a specific worksheet

    how can i combine this with the active sheet command? like that?? the shorter the better coz it is a long vba code and cpu is working hard

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-07-2014
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    95

    Re: how to copy a range from a specific worksheet

    What is wh? Is this a sheet in ws?

  6. #6
    Forum Contributor
    Join Date
    08-03-2012
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    120

    Re: how to copy a range from a specific worksheet

    yes wh is another workbook

  7. #7
    Forum Contributor
    Join Date
    08-03-2012
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    120

    Re: how to copy a range from a specific worksheet

    can anyone experienced help me on this plz. thanks

  8. #8
    Registered User
    Join Date
    08-07-2014
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    95

    Re: how to copy a range from a specific worksheet

    Workbook is not worksheet. In your code, you set ws as a worksheet, but in 3th sentence, you use it as a workbook. So, what actually are ws and wh?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy a specific row and a range of columns to next available row on another worksheet
    By monkey1184 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-29-2013, 05:02 PM
  2. [SOLVED] Copy worksheet with specific name and no blank cell in a specific range
    By graiggoriz in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-05-2013, 11:50 AM
  3. Search for specific date range, copy entire row and paste to new worksheet
    By turias in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-04-2013, 03:57 PM
  4. [SOLVED] Copy TextBox data to Worksheet in specific range
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-28-2012, 07:13 PM
  5. Non-Sheet Specific Macro to copy range of cells to next worksheet in WB
    By Petrolcb41 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-29-2010, 11:04 AM

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