+ Reply to Thread
Results 1 to 8 of 8

Vba copy paste

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    w
    MS-Off Ver
    Excel 2010
    Posts
    18

    Vba copy paste

    HI,

    I need to copy a value on an activesheet cell A1, to another workbook located at d:\location\aaa.xls cell C3.



    TIA.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Vba copy paste

    Hey Deadlock,

    You also need the destination sheet name.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Vba copy paste

    I haven't done this before, but you may try this code.......
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Registered User
    Join Date
    06-04-2013
    Location
    w
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Vba copy paste

    Quote Originally Posted by xladept View Post
    Hey Deadlock,

    You also need the destination sheet name.
    It is Sheet1

  5. #5
    Registered User
    Join Date
    06-04-2013
    Location
    w
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Vba copy paste

    Quote Originally Posted by sktneer View Post
    I haven't done this before, but you may try this code.......
    Please Login or Register  to view this content.
    Thanks sktneer for the quick reply! I have been doing some reading, and I find it safer to use the paste special values instead. How do we incorporate it to your code?

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Vba copy paste

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

  7. #7
    Registered User
    Join Date
    06-04-2013
    Location
    w
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Vba copy paste

    Thanks sktneer, I just found the time to get back to this project. It seems to be working very well, thank you very much!

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Vba copy paste

    You're welcome. Glad it helped.
    If that takes care of your question, please mark your thread as solved by selecting Thread Tools (just above your first post)--> Mark thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say thanks to them.

+ 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. How do I make the copy/paste of one column contingent on the copy/paste of another?
    By Kwasimitsu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-23-2014, 01:51 PM
  2. Automate copy and paste and copy and paste back to excel
    By Bmw318be in forum Access Tables & Databases
    Replies: 0
    Last Post: 02-23-2013, 05:42 AM
  3. Replies: 1
    Last Post: 01-16-2013, 05:36 AM
  4. 2 Macro's: only vertical copy/paste action and copy-paste 14 columns to the right.
    By vdongen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2010, 10:34 AM
  5. Replies: 1
    Last Post: 01-04-2005, 06:06 PM

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