mysticmario
Active Member
- Joined
- Nov 10, 2021
- Messages
- 323
- Office Version
- 365
- Platform
- Windows
Ok
here's the thing
I have something like this:
When i press second button from the left it executes this code:
it simply takes this template and put new one above this.
Unfortunately when the "old" template gets moved down it messes up the entire cell formattting
I have no idea how to fix this. If I delete newly created template everything moves up and formattign is back to normal.
Please help
here's the thing
I have something like this:
When i press second button from the left it executes this code:
VBA Code:
Private Sub NewPage_Click()
Range("A2:P57").Select
Selection.Copy
Range("A2:D2").Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
End Sub
Unfortunately when the "old" template gets moved down it messes up the entire cell formattting
I have no idea how to fix this. If I delete newly created template everything moves up and formattign is back to normal.
Please help