ColdGeorge
Active Member
- Joined
- Aug 21, 2012
- Messages
- 412
- Office Version
- 2016
- Platform
- Windows
Hi all
I'd appreciate your assistance in order to prevent errors with an input box, this is the code
Thanks in advance
ColdGeorge
I'd appreciate your assistance in order to prevent errors with an input box, this is the code
VBA Code:
Dim selection As Range
Dim rng As Range
Set selection = Application.InputBox("First, select a range", "Title Here", Type:=8)
Set rng = Application.InputBox("Now, select a cell", "Title Here", Type:=8)
selection.Cut rng
Thanks in advance
ColdGeorge