+ Reply to Thread
Results 1 to 5 of 5

VBA macros for data transfer between 2 files in same folder

  1. #1
    Registered User
    Join Date
    12-23-2008
    Location
    Chennai,India,Tamilnadu
    Posts
    70

    VBA macros for data transfer between 2 files in same folder

    Dear All,

    I need VBA macros for data transfer (cell in one file to cell in another file) between two files in the same folder, independent of the location the folder is stored.
    Last edited by VBA Noob; 02-06-2009 at 01:37 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: VBA macros for data transfer between 2 files in same folder

    Not much to go on.

    Are the workbooks both open?
    What are you copying & where to?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    12-23-2008
    Location
    Chennai,India,Tamilnadu
    Posts
    70

    Red face Re: VBA macros for data transfer between 2 files in same folder

    one workbook will be open. i want to transfer text or numbers in cells of one workbook to the cells in another workbook.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: VBA macros for data transfer between 2 files in same folder

    Here's some code that you should be able to adapt

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-23-2008
    Location
    Chennai,India,Tamilnadu
    Posts
    70

    Re: VBA macros for data transfer between 2 files in same folder

    Dear Sir,

    Thanks for the code. It is excellent.

    I thank you once again.

    One more question sir,

    What datatype has to be defined if i want to copy any data even if it is a error value (eg: #DIV/0!).

    Thanks
    Regards
    M.Velmurugan

+ 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