+ Reply to Thread
Results 1 to 4 of 4

macro to copy cells(Range) from an open Workbook to another open Workbook.

  1. #1
    Registered User
    Join Date
    02-22-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    2

    macro to copy cells(Range) from an open Workbook to another open Workbook.

    Hi,

    I need to copy a range from a sheet in an open workbook to a sheet in another open workbook.

    This is the code i have but it gives me an error:

    ----

    Please Login or Register  to view this content.
    -----

    Can someone please help me solve this problem?

    Thanks and Regards,

    JB
    Last edited by arlu1201; 02-22-2013 at 09:26 AM. Reason: Use code tags in future

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: macro to copy cells(Range) from an open Workbook to another open Workbook.

    What is the error you get and on which line?

    This should do it for you -
    Please Login or Register  to view this content.
    If the macro is in your source file then you can use this code -
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    02-22-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: macro to copy cells(Range) from an open Workbook to another open Workbook.

    Great, This works well. But i need to paste just the values and the original Format.

    How do I incorporate this into above first macro provided.

    Please Login or Register  to view this content.
    Thanks a lot!
    Last edited by arlu1201; 02-22-2013 at 09:46 AM. Reason: Code tags

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: macro to copy cells(Range) from an open Workbook to another open Workbook.

    Try this
    Please Login or Register  to view this content.

+ 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