Macro needed to add % markup to two columns of prices. Thank you

SHBeck

Board Regular
Joined
Dec 2, 2012
Messages
145
Hello, I would like a macro that will auto run when an Sheet is opened. I need a window to pop up and ask 'company name' in one field and '% markup' in the other. I would like a start button to initiate a script that inserts a row on the sheet between row 1 and row 2 and then copies text from 'company name' an pastes into text into cell (A,2). I then need the macro to take values from Col E, Row 4 and higher, and multiply it by '% markup', then add the result of markup to the original value, finaly replacing the original value with new adjusted value. Thank you in adavance. Also there a way to delete the macro from the sheet automatically after it runs? Thanks again
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I also need it to perform same calculations of adding markup to values in Col D, row 4 and higher
Thanks for the help
 
Upvote 0

Forum statistics

Threads
1,214,894
Messages
6,122,124
Members
449,066
Latest member
Andyg666

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