On Cell Change give user options

annmarie

New Member
Joined
Oct 2, 2009
Messages
4
Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
I'm pretty new to VB programming but learning fast.<o:p></o:p>
I have built a calculation spreadsheet so far with formulas in the cells and VB functions with a few VLOOKUPs thrown in.<o:p></o:p>
I then created a macro and button to insert a new row below the last row and copy all the formula's down to that row.<o:p></o:p>
Within the row you chose a diameter (from a drop down menu-data validation list).<o:p></o:p>
I want a msg box to pop up after a diameter has been selected and show the user what the end result would be for that diameter, the diameter before and the diameter after. To show the user that a smaller or bigger diameter might be a better choice in the long run. (I don't know if this is possible as there are 7 stages/cells to the calculations, (lookup, IF statements and VB written functions) that I have used to get the end result for the diameter selected.<o:p></o:p>
Is this too hard as I can’t pin this down to a certain row as it depends how many rows you have inserted and the user may go back up the rows to change the diameter-so it’s not always the last row. <o:p></o:p>
Would it be easier to target a column or even the next column which has a calculation in the cell and on recalculation of a cell then the macro runs?<o:p></o:p>
<o:p></o:p>
Sorry for the big question -I just wanted to give enough background to show my difficulties.<o:p></o:p>
<o:p></o:p>
Thank you in advance for any help you can give me. :)<o:p></o:p>
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,214,920
Messages
6,122,267
Members
449,075
Latest member
staticfluids

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