Shopping cart

fencer

New Member
Joined
Jan 3, 2015
Messages
1
Hello,

I am just begginer with vba and I need help with off-line shopping cart.
I created small db of my products in new sheet, and I created shopping sheets aswell, where you select wanted amount by using spinbutton. I think that I have to create new sheet for cart. So, I need help on automatic shopping cart:

1.What to do, to avoid empty rows after I decide to change my desired item's quantity back to 0. ( You want to buy 1st, 2nd and 3rd items, but later decide to cancel purchase of 2nd)

2.How to put product's details on one row down from previously added one.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
In your case, I think there is no necessity for VBA but only when your want to use userform to input data and use the spinbutton.
I have 2 methods:
(1) Using only excel to input data, using VLOOKUP for the price and other factors of the product, then process to output (total price, I guess)
(2) Using userform to input data, 1 combobox for the product you want to buy, 1 textbox for the quantity you have, 1 button that record the product and quantity into new blanked sheet (shopping cart), 1 button to print out shoppng cart as well as the total price
Think about that.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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