+ Reply to Thread
Results 1 to 2 of 2

Button to pull data from another sheet & another to erase

  1. #1
    Registered User
    Join Date
    09-12-2023
    Location
    Brisbane, Australia
    MS-Off Ver
    Mircrosoft Office 365
    Posts
    1

    Button to pull data from another sheet & another to erase

    Hi all, first time poster here.

    I'm creating a budget for personal use. Basically I wish to forecast my fixed expenses on a calendar style sheet then using a button, pull the expenses on to a secondary sheet for that specific pay period. at the end of the period, use another button to erase the data. I'm not too familar with the coding so would like some help for anyone who likes a challenge,

    'Budget' sheet outlines the fortnightly period showing income and fixed/unfixed expenses, while 'Bill Calendar' is a forecast for the next year set out like a calendar with each fixed bill under its corresponding date. The idea is to populate the 'Bill Calendar sheet and each pay period I hit a button on 'Budget!' to populate the cells with the corresponding fixed bill data if they fall within that period.

    A drop down data list with each payday on the 'Budget!' sheet automatically sets the dates of that pay period in Budget!C9:P9 while fixed bills are labelled under (Budget!B11:B28). Simarlarly, on the 'Bill Calender' sheet, dates are set (B1:RG1) and fixed bills labelled under (A3:A20)

    As an example:
    Set drop-down payday to 15/9/23 and auto populate dates for period 15/9/23-28/9/23 in 'Budget!C9:P9. If I hit populate button, data match dates 'Budget!C9:P9 (15/09/23-28/09/23) to 'Bill Calendar!B1:RG1 and if match, pull data from lower cells, in this case it would be 'Bill Calendar!B3:O20.

    The Erase button would then erase 'Budget'!C11:P28 at the end of the pay period.

    Thanks in advance, see template

    Budget template.xlsx

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,858

    Re: Button to pull data from another sheet & another to erase

    You have marked this as solved - is it?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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] Need vba code to pull data across sheet depends upon command button click
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-03-2022, 07:24 PM
  2. Erase button and keeping the colour of a certain cell
    By JustBrankoGaming in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-14-2021, 08:28 AM
  3. [SOLVED] Pull data from another workbook using dropdown or command button to those sheet name VBA
    By rajeshn_in in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-30-2017, 07:33 AM
  4. Problem to erase a Button in Excel 2010
    By Patrick22 in forum Excel General
    Replies: 1
    Last Post: 09-12-2016, 02:35 PM
  5. Option Button to Pull Data from Another Sheet
    By markusvirus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-05-2016, 12:16 PM
  6. [SOLVED] button erase dont erase an image inserted on an image control
    By Nuno Neves in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-11-2014, 08:04 AM
  7. Erase Data on Sheet
    By Bill in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-25-2005, 08: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