Insert a new Row And Replicate Data Validation And Formula From Row Above

oblix

Board Regular
Joined
Mar 29, 2017
Messages
183
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
  6. 2011
  7. 2010
  8. 2007
  9. 2003 or older
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
Hello All,
I have a spread sheet that has protected cells.
I basically am trying to create a macro that creates a new row of data under existing data apon double clicking in cell A. Shoud not allow double click in cell in A is protected (give message "This rowl can't be dublicated"
My Data Starts in row 8
Here are my main criteria.

1) I have some cells that have :
data validation, column D​
some cells with formulas, columns A, E to Z​
I need all cells that does not have a formula to show as blank and the data validation cells to also show blank but leave the validating in cell upon creating the new row.​
2) I want the row to always be created after the row I double clicked on in cell A.
3) On Double click it should ask user if want to add row.
4) Selecting range A to Z and not whole row for copy. When creating new row it should only be range A to Z and not whole row. SHould move that range down and not cell after Z as there is another table there I dont want to break.
Thank you in advance for possible solution
 
Last edited:

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,214,648
Messages
6,120,726
Members
448,987
Latest member
marion_davis

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