Excel Macro insert value into another cell

microsoft excelvba

Okay I'm needing some help with excel i'm new to it. I have a spreadsheet that adds all these value together and puts them in cell M3. However this is a daily spreadsheet I will be using so I want to add a button that will run a macro to copy the value from M3 to N7 the first time I click it. But then the next time I click it I want it to copy the value from M3 to N8 and so on up to N37 for a months time.

I have been trying to get this done for awhile now and can't seem to find anything to help me thought I would ask here and also hoping someone would explain the code a bit for me so I can better understand it. I got the button added already so no need to tell me how to do that.

Best Answer

By using the function Tools->Macro->Record New Macro..., you can do all your operations like before (with Keyboard and Mouse) and after that (stop record) you can take a look at the generated macro-code.
This can help in many cases.

If you have any special problems, please post your code.

Related Question