+ Reply to Thread
Results 1 to 9 of 9

Transferring infomation from one .xls to another

  1. #1
    Registered User
    Join Date
    02-06-2015
    Location
    England
    MS-Off Ver
    2003
    Posts
    6

    Transferring infomation from one .xls to another

    Hi, forgive me if I seem ignorant but I don't know much vba only a few bits and pieces I use at work.

    Basically what I want to do is take information from a spreadsheet, process it, then write it to another spreadsheet with the data in specific cells, yet whenever I use
    Please Login or Register  to view this content.
    all it does is space the information, it doesn't actually place it in a seperate cell.

    So I would be very grateful if somebody could demonstrate how they would write, for example, the variables a, b and c to a spreadsheet in cell locations a2, b3 and c4 respectively.

    Apologies if I haven't given enough information or I was unclear, I would appreciate help on this though.

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

    Re: Transferring infomation from one .xls to another

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 02-06-2015 at 10:28 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    02-06-2015
    Location
    England
    MS-Off Ver
    2003
    Posts
    6

    Re: Transferring infomation from one .xls to another

    Do you mind giving some explanation to your code? Are you saying that I don't have to specify the opened .xls file once i've opened it in vba?

  4. #4
    Registered User
    Join Date
    02-06-2015
    Location
    England
    MS-Off Ver
    2003
    Posts
    6

    Re: Transferring infomation from one .xls to another

    Just to clarify - the information is in two seperate files and I want to transfer it across using a third file.

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

    Re: Transferring infomation from one .xls to another

    It does not matter where the macro resides so your third file is not relevent.

    Just make sure all three files are opened in the same instance of excel.

    I mean make sure that you ope excel once. And then open the files from within excel.

  6. #6
    Registered User
    Join Date
    02-06-2015
    Location
    England
    MS-Off Ver
    2003
    Posts
    6

    Re: Transferring infomation from one .xls to another

    I think I understand now, thankyou very much for your help.

  7. #7
    Registered User
    Join Date
    02-06-2015
    Location
    England
    MS-Off Ver
    2003
    Posts
    6

    Re: Transferring infomation from one .xls to another

    I still cannot get this to work.


    Say I have input.xls like this -
    input.png

    I want to add A1 and B1 to create variable sum1 and display that number in C3 in output.xls in the same folder.

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

    Re: Transferring infomation from one .xls to another

    Save these in the same folder

    Open Book1 and click on the Button.


    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-06-2015
    Location
    England
    MS-Off Ver
    2003
    Posts
    6

    Re: Transferring infomation from one .xls to another

    Okay thanks that should work now.

+ 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. Infomation extraction help.
    By mecutemecute in forum Excel General
    Replies: 1
    Last Post: 05-15-2013, 05:04 PM
  2. [SOLVED] need more infomation on scatter charts?
    By zaka in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-25-2006, 05:50 AM
  3. Match Infomation
    By Trying Hard in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-27-2005, 10:05 AM
  4. How do I modify how this infomation is displayed?
    By Tibbs in forum Excel General
    Replies: 0
    Last Post: 04-20-2005, 10:20 AM
  5. populate infomation from one worksheet to another if one of the c.
    By Barbara in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2005, 04: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