+ Reply to Thread
Results 1 to 3 of 3

Changing cell on button click pulling information from a ListBox

  1. #1
    Registered User
    Join Date
    07-16-2016
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    2016
    Posts
    22

    Changing cell on button click pulling information from a ListBox

    Hey everyone,

    I'm trying to run a dashboard with 3 different tabs as display and 1 tab as database.
    Each display tab has a dashboard containing a ListBox and 3 TextBoxes. The List receives the data from the Database tab and the TextBoxes receive it from the List.
    One of the TextBoxes displays status "ONGOING" or "DONE".

    What I want is to add a button that, upon clicking, changes the information from "ONGOING" to "DONE" in the Database and consequently in the List and TextBoxes, for the selected item in the ListBox.

    Meaning if I select the third Item in the List, the command has to alter the information in the correct row in the Database table.

    Can someone help me out with the code to that button?


    Additional info:
    - Each List on each Tab has a defined range within the Database table, it is not dynamic, it has been added directly to the ListBox properties.
    e.g. ListBox 1 ranges from A2:E27; ListBox 2 ranges from A28:E35 and so on...

    - The Done or Ongoing status is contained in the E Column of the Database.

    Thanks for the support!

    Reposted from < MrExcel forum under #post5302564>

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Changing cell on button click pulling information from a ListBox

    As you have more than 10 posts you should be able to post a link to your cross post.
    Please add the link. Thanks

  3. #3
    Registered User
    Join Date
    04-21-2007
    Location
    Where your mind is
    MS-Off Ver
    OS 2010, 2013, 365.
    Posts
    42

    Re: Changing cell on button click pulling information from a ListBox

    It is always helpful if a prototype of the actual file is loaded within this thread so other can take a look and give you advice or solution.

+ 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] Click/drag a formula pulling from differ sheets w/ excel auto changing sheet names only
    By GonzCilla in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2018, 02:16 PM
  2. Replies: 1
    Last Post: 02-27-2017, 09:17 AM
  3. Help changing color of cells on button click
    By LePig in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-26-2016, 10:03 AM
  4. Click a button - pass some information - How To?
    By Askjerry in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2014, 05:44 PM
  5. Click a button - pass some information - How To?
    By Askjerry in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2014, 05:40 PM
  6. Not deleting the selected data from listbox by one click on command button
    By biznez1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-31-2013, 12:05 PM
  7. [SOLVED] Changing font attributes on click of button
    By stuartadair in forum Excel General
    Replies: 8
    Last Post: 06-07-2012, 07:47 AM

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