Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Use macro to write formula
I have data in the following format,
A B C D 1 Dept Qty Price Sales (Qty*Price) 2 3 1. I have a formula in column D, how can I use macro to automatically enter the formula whenever I insert a row, e.g between row 1 and 2. Plus it will be useful to have the macro update the formula column whenever I add new rows at the f bottom of the list i.e in row 4. 2. Since this list will be use to enter data I would prefer not to protect the sheet. How can I can get macro to rewrite the formula in column D to the bottom of the list, each time the sheet recalculates, just in case it was accidentally deleted. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to write a macro | Excel Discussion (Misc queries) | |||
Help write Macro | Excel Discussion (Misc queries) | |||
How do i write a Macro that does following | New Users to Excel | |||
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? | Excel Worksheet Functions | |||
How do I write a macro for... | Excel Discussion (Misc queries) |