+ Reply to Thread
Results 1 to 5 of 5

VBA Code for Button to Disperse Data to Respective Sheet

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    VBA Code for Button to Disperse Data to Respective Sheet

    I am working on an excel file for my wife and her job and I am entering data in a master sheet and need data to be entered and then a button be clicked and it puts the data into the respective worksheets for the facilities. Or if there is a formula for this as well would be helpful. I have attached a generic redaction of the file as she is in healthcare and I cannot share the information. Any help is appreciated. This is giving me a migraine lol. Thank you.
    Attached Files Attached Files
    Last edited by twedgewood; 02-03-2022 at 03:04 PM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: VBA Code for Button to Disperse Data to Respective Sheet

    This macro should do it

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-02-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: VBA Code for Button to Disperse Data to Respective Sheet

    That works perfect! So my next question is How do I adapt this when I change the facility names to their respective Facilites? I have 5 different facility names obviously.

  4. #4
    Registered User
    Join Date
    04-02-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: VBA Code for Button to Disperse Data to Respective Sheet

    So if I go to enter data and hit the button to Submit Data, it transfers it correctly. If i go enter another line of data and hit Submit Data it duplicates all previous values entered as well.

  5. #5
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: VBA Code for Button to Disperse Data to Respective Sheet

    It should clear the previous entries, I catered for that.

+ 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. how to go to a particular cell quickly
    By seraphin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-05-2013, 03:18 PM
  2. logs off to quickly
    By martindwilson in forum ExcelTip.com Feedback / Comments / Suggestions
    Replies: 11
    Last Post: 07-11-2008, 04:57 AM
  3. HELP!!! need help!and quickly!
    By Brightmaster in forum Excel General
    Replies: 4
    Last Post: 01-03-2007, 12:26 PM
  4. In need of some assistance Quickly!
    By alexm999 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2006, 03:45 PM
  5. [SOLVED] HOW to make sub run more quickly
    By EXCEL NEWS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-06-2006, 05:50 PM
  6. [SOLVED] How to I get to the last entry quickly
    By tweacle in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-22-2006, 07:20 PM
  7. need help quickly!!
    By alexm999 in forum Excel General
    Replies: 3
    Last Post: 02-28-2006, 10:42 AM
  8. Need help quickly!!!
    By alexm999 in forum Excel General
    Replies: 0
    Last Post: 04-21-2005, 07:34 AM

Tags for this Thread

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