Inventory based on a command button click.

Byronbster

New Member
Joined
Jun 21, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello, I am a noob to VBA, but I am finding it very interesting. I've watched a bunch of tutorials, but still cant come to a solution to my problem.
I have a stock take/Inventory list I am in the process of making. Basically I have multiple datasheets for instance: DatasheetBeers, DatasheetWine, Datasheetspirits and DatasheetSodas.
On these various sheets I have separated the different instance into alphabetic order.
I have a master page of all the instances, which hyperlinks to another page that has the alphabet buttons display . (so I selected beers and now select A beers)
I have a userform that pops up and this has a combo box and a text box where I can enter the amount of A beers on hand.

My Programmer brain says,

If cmdBeerA button pressed then userform visable. populate combobox with DatasheetBeer row A3:a13.
if A3 selected and value entered and saved show this value in B3
 

Attachments

  • Screenshot 2022-06-21 145027.png
    Screenshot 2022-06-21 145027.png
    12.9 KB · Views: 11
  • Screenshot 2022-06-21 145006.png
    Screenshot 2022-06-21 145006.png
    31.7 KB · Views: 8
  • Screenshot 2022-06-21 144942.png
    Screenshot 2022-06-21 144942.png
    12.6 KB · Views: 9
  • Screenshot 2022-06-21 150011.png
    Screenshot 2022-06-21 150011.png
    35.8 KB · Views: 9

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,224,816
Messages
6,181,143
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top