Sumeluar
Active Member
- Joined
- Jun 21, 2006
- Messages
- 278
- Office Version
- 365
- 2016
- 2010
- Platform
- Windows
- MacOS
- Mobile
Good day!
I have a simple macro that it copies a named range with entire rows and pastes it right above where the named range is, I would like to modify it to ask in which new cell I want to insert it. Is probably easy but my limited VBA skills lead me to ask for help.
Sub Insert_New_Task()
Range("NewTask").Select
With Selection.EntireRow.Copy
'Maybe here - Popup to to select the cell where to insert the selected range
Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
Selection.FillDown
End With
End Sub
Regards!
Sumeluar
I have a simple macro that it copies a named range with entire rows and pastes it right above where the named range is, I would like to modify it to ask in which new cell I want to insert it. Is probably easy but my limited VBA skills lead me to ask for help.
Sub Insert_New_Task()
Range("NewTask").Select
With Selection.EntireRow.Copy
'Maybe here - Popup to to select the cell where to insert the selected range
Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
Selection.FillDown
End With
End Sub
Regards!
Sumeluar