Storing and Organizing Data

zachfry

New Member
Joined
Jul 11, 2014
Messages
2
I'm setting up a type of form in excel where I have some validated drop down lists and I'm trying to use a macro that will, upon a button click, take the data from the drop down lists that are entered into the boxes, and organize them into a chart on a different sheet of the document. This would be the form with some drop down lists.
Juice TypeApple
Juice Size8 oz.
Juice BuyerRonald

<tbody>
</tbody>
I want to add it in to a table with every button click filling in a new row in a table like this,
Juice TypeJuice SizeJuice Buyer
Apple8 oz.Ronald

<tbody>
</tbody>

Thanks so much for any help in advance.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
you need 3 clicks to get your raw data say it is in A1 B1 C1

the macro needs to copy this and paste to say P1 Q1 R1
the macro needs to add 1 to a counter that was initially set to zero

now 3 more clicks
the macro now copies and pastes to P2 Q2 R2
P2 = cells(16,2)
and sets the counter to 3 ready for the next time

can you manage that ?
 
Upvote 0
in the macro put a line counter = counter +1
or

cells(1,26)=cells(1,26)+1
this means Z1 is increased by 1 so you use cells(1,26) as the counter
 
Upvote 0

Forum statistics

Threads
1,215,770
Messages
6,126,794
Members
449,337
Latest member
BBV123

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