Mrs_Sant0s
New Member
- Joined
- Aug 27, 2020
- Messages
- 7
- Office Version
- 365
- 2019
- 2016
- 2013
- 2011
- 2010
- Platform
- Windows
Hi there. Hope someone can help. I have a specified cell which i have given a named range ("Demo_Total"), and I want to create a macro that will add a new row two rows above the named range cell and also copy the formula of an existing row above that.
I created the following, which allows me to find the named range and add a row directly above, but I can't work out how to make it two rows above, and how to copy the formatting from another row.
Application.Goto Reference:="Demo_Total"
Selection.EntireRow.Insert
End Sub
Hope someone can point me into the right direction?
Thanks!
I created the following, which allows me to find the named range and add a row directly above, but I can't work out how to make it two rows above, and how to copy the formatting from another row.
Application.Goto Reference:="Demo_Total"
Selection.EntireRow.Insert
End Sub
Hope someone can point me into the right direction?
Thanks!