Macro for Adiing rows with keeping cell formating and formulas depending on value from single cell

chobanne

Active Member
Joined
Jul 3, 2011
Messages
269
Hi i need a macro who will add a rows to a tables in various worksheet depend on values in one single cell with keeping formating and formulas from row above the added ones.

example:

Single cell (A1) on sheet1 (named "enter") have a value 5, that mean that new 4 rows must be add after the last row in specific tables in Sheet1(enter) after B50:K50 and in Sheet2 (named "exit") after A55:D55, K33:M45 and AC67:AK:67. And off course i ll need to keep all formating and formulas from row above the added rows in added rows. i hope u understand what i want ;)

Thank you, i hope this is not hard and wont take your time :cool:
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hi i need a macro who will add a rows to a tables in various worksheet depend on values in one single cell with keeping formating and formulas from row above the added ones.

example:

Single cell (A1) on sheet1 (named "enter") have a value 5, that mean that new 4 rows must be add after the last row in specific tables in Sheet1(enter) after B50:K50 and in Sheet2 (named "exit") after A55:D55, K33:M45 and AC67:AK:67. And off course i ll need to keep all formating and formulas from row above the added rows in added rows. i hope u understand what i want ;)

Thank you, i hope this is not hard and wont take your time :cool:

Can anyone help?
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,285
Members
452,902
Latest member
Knuddeluff

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