How do I add a new row with text

Alotheal

New Member
Joined
Sep 2, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Here's how I want this to work - I included my table as reference.

When I click the arrow icon I want three events to occur.
1. A new row appears below it, it will take the old B6 position.
2. The row contains the formula as depicted in B6.
3. The current date is populated in (in this example) cell F6.

Capture.PNG


I'm unsure how hard this is, I can't figure it out. Right now all my VBA code does is insert a new row.

Sub sbInsertingRows()
Range("B6").EntireRow.Insert
End Sub
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,214,920
Messages
6,122,262
Members
449,075
Latest member
staticfluids

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