+ Reply to Thread
Results 1 to 3 of 3

click button and send data from one sheet to another

  1. #1
    Registered User
    Join Date
    03-31-2009
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    59

    click button and send data from one sheet to another

    Hi

    I have two excel files A and B and i want to send data from one sheet in A to a sheet in B when i click a button (activeX). How can i do this?

    thank you

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: click button and send data from one sheet to another

    Hi Sonyk,

    First, you have to add a command button to your worksheet.
    Second, you have to write code in the command button's Click event to move the data.

    The code that needs to be written is 100% dependent on the layout of your data, which data needs to be moved when you click the button, where it needs to be moved to on the second sheet, and what to do with the area previously occupied by the moved data.

    Hint hint... try uploading a spreadsheet with your requirements for moving the data, and provide a before & after view.

  3. #3
    Registered User
    Join Date
    03-31-2009
    Location
    Portugal
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: click button and send data from one sheet to another

    ok I will try... here it is

    I want to put the info from the doc A to the doc B... please write the code of the button here or in the sheet

    thank you very much
    Attached Files Attached Files

+ 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