+ Reply to Thread
Results 1 to 7 of 7

VBA: I need to store data instead of only keeping 1 number at a time

  1. #1
    Registered User
    Join Date
    09-16-2021
    Location
    North America
    MS-Off Ver
    2013
    Posts
    8

    VBA: I need to store data instead of only keeping 1 number at a time

    Good Day All,

    In my pictures you can see two of my sheets, the first displays a portion of the GUI the user will input information into and the second is one of my data sheets which stores numbers depending on who is selected in my drop down menu. My problem is right now when I switch users in the dropdown menu in cell P5 and enter new information in C9 all the information I had for any previous users data will be erased and put as "FALSE". Is there a way I can store the information in cells G3:G11 of my data sheet so that when I switch users and their data sheet is updates all my other sheets don't return to "FALSE"?
    A little more explanation for this if you need it is that there are 14 users in the drop down menu and each of them has their own data sheet. In the end I am looking for multiple people to be able to use this excel document as a shared document rather than everyone having their own copy of it.
    Any help would be greatly appreciated.

    J
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by boivjet; 09-23-2021 at 04:19 AM.

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

    Re: I need to store data instead of only keeping 1 number at a time

    You would need VBA for this. Shall I move the thread to the correct section of the forum for you?

    There are instructions at the top of the page explaining how to attach your sample workbook.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-16-2021
    Location
    North America
    MS-Off Ver
    2013
    Posts
    8

    Re: I need to store data instead of only keeping 1 number at a time

    Yes you can move it over to VBA

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,723

    Re: VBA: I need to store data instead of only keeping 1 number at a time

    I have moved the thread.

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,303

    Re: VBA: I need to store data instead of only keeping 1 number at a time

    A workbook is worth a thousand pictures and will get a solution far quicker
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  6. #6
    Registered User
    Join Date
    09-16-2021
    Location
    North America
    MS-Off Ver
    2013
    Posts
    8

    Re: VBA: I need to store data instead of only keeping 1 number at a time

    Sample added, missing quite a few sheets so most of the formulas wont be showing up as working but you should get the idea of what im trying to do.
    thanks again for all your help

  7. #7
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,303

    Re: VBA: I need to store data instead of only keeping 1 number at a time

    Sorry, been busy, so a couple of days have passed quickly.
    As I see your app - 1) how to enter and store the record data efficiently - this needs to be tabulated for easy retreval - this would be a nightmare if you have a repetion of your WEEK1 sheet - (how many weeks x how many members ??? 20 members x 50 weeks are 1,000 sheets manageable).
    I would suggest your data is stored in a table (similar) to my attached file and you have ONE template that the data is loaded to for viewing.
    The attached file is just to illustrate the method of data entry & storage - the template would be based on how you envisage wanting to view the data.
    I have attached also a calendar/appointments book illustrating how you only need templates rather than individual sheets with data stored in hundreds of locations.
    The calendar is just one sheet however it has the capacity to store and display 20 years worth of data/appointments.
    Do not enter data in the white space - just double click and a data entry box appears - if data present double click to edit.
    Give the process some thought and post back on this site if you want to progress this.
    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)

Similar Threads

  1. Number Range To List while keeping data
    By mleaser in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-19-2020, 09:44 AM
  2. [SOLVED] Dynamic Changing Data, Based on Criteria Store in Array, Sum array and store in Cell
    By penbeacho in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-28-2015, 10:31 AM
  3. Replies: 9
    Last Post: 08-09-2013, 12:07 AM
  4. Replies: 1
    Last Post: 05-20-2013, 01:30 AM
  5. Time format to number while keeping value
    By Jim in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2006, 01:50 PM
  6. Access data base is able to store any number of records
    By clearcell in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-08-2005, 04:50 PM

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