+ Reply to Thread
Results 1 to 4 of 4

Add data from specific cells to growing list

  1. #1
    Registered User
    Join Date
    04-08-2017
    Location
    Queensland, Australia
    MS-Off Ver
    Excel 2016
    Posts
    2

    Add data from specific cells to growing list

    Hi All,
    I am stuck on how to proceed with a problem. I need to send data from a specific cell and send it to another worksheet as a growing list.
    For example, I have a date in "Sheet 1, F1" and the Total Cost in "Sheet 1, J1". I want to send the date and cost to "Sheet 2"

    Say in Sheet 1, "F1=31/03/2017" and "J1=$200"

    I want to select a custom button saying something like "Export"

    Then 31/03/2017 shows in "Sheet 2, A2" and $200 shows in "Sheet 2, B2"

    Now I save the changes as a new spreadsheet.

    Next month, Sheet 1 now shows "F1=30/04/2017" and "J1=$173"

    I select the "export" button

    Now Sheet 2 shows "A2=31/03/2017", "B2=$200", (both from data from last save)
    "A3=30/04/2017", and "B3=$173" (New data entered)

    Then the following month, new data goes to A4 & B4, then A5 & B5, etc. every time I select "export".


    I've posted under VBA/Macros thread as I am guessing that something like this would need a macro. I've been mining excel tips/tutorials/forums and cannot find anything yet.

    Thanks in advance!!

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Hi ! Try this demonstration !


    PHP Code: 
    Sub Demo()
        
    Sheet2.Cells(Rows.Count1).End(xlUp)(2).Resize(, 2).Value = Array([Sheet1!F1].Value, [Sheet1!J1].Value)
    End Sub 
    Do you like it ? So thanks to click on bottom left star icon « Add Reputation » !

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Add data from specific cells to growing list

    Perhaps the below code in a standard module and attached to a command button will do?
    Please Login or Register  to view this content.
    See attached.

    BSB
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-08-2017
    Location
    Queensland, Australia
    MS-Off Ver
    Excel 2016
    Posts
    2

    Re: Add data from specific cells to growing list

    YES!!
    This is exactly what I needed! Thank you so much!!

+ 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. [SOLVED] Copy data from a list to cells on specific worksheets
    By WHATSXL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2017, 01:24 PM
  2. Replies: 5
    Last Post: 01-23-2017, 01:24 PM
  3. ban list and watch list for constantly growing column of numbers
    By patrickthenomad in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-24-2015, 10:26 PM
  4. Getting the Sum of a Growing List
    By mmanning in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-07-2014, 09:11 PM
  5. VBA Code for pasting cells down a growing list that continually gets updated
    By tracy80 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2010, 11:19 AM
  6. Populating cells based on growing list of names.
    By rxwillow in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-18-2008, 06:55 PM
  7. Calculate a growing list of data
    By jhalverson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2005, 06:17 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