Auto formatting excel sheet using VBA

djolemomaq

New Member
Joined
Mar 4, 2021
Messages
1
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hi Guys,

I am building a risk assessment form and need some help from the experts :D

First would like the table to automatically add number in sequence if the cell risk is not blank as per table below. The same applies for mitigation and additional mitigation but with difference that information from risk number should be used.


1RISK 11.1Mitigation11.1.1Additional mitigation1
1.2Mitigation 21.1.2Additional Mitigation 2
2Risk 22.1Mitigation 12.1.1
Additional mitigation1


Finally, i need that every time risk is inserted that the Top border of entire table is drawn for all 8 cells.

Many thanks for all your help and suggestions.

Best Regards,
Djordje Pantovic
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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