retractedspace
New Member
- Joined
- Jun 10, 2015
- Messages
- 3
I know this will sound very simple for members but I have never used VBA.
I want a macro in my excel to when I use the shortcut CTRL + W to run a macro which does the following
Takes the cell I am in copies it
Then inserts it 5 columns to the right pushing the other columns right as it inserts
Then to delete data in the in the 5 cells to the left.. with the slected cell back where I started ready for new data
The VB needs to ignore what Row its on ie it is not always run on row 2
Going From (Blue indicates selected cell)
To (Blue indicates selected cell)
I want a macro in my excel to when I use the shortcut CTRL + W to run a macro which does the following
Takes the cell I am in copies it
Then inserts it 5 columns to the right pushing the other columns right as it inserts
Then to delete data in the in the 5 cells to the left.. with the slected cell back where I started ready for new data
The VB needs to ignore what Row its on ie it is not always run on row 2
Going From (Blue indicates selected cell)
A | B | C | D | E | F | G |
Date | Text 1 | Text 2 | Text 3 | Text 4 | Date 2 | {Blank} |
To (Blue indicates selected cell)
A | B | C | D | E | F | G |
{Blank} | {Blank} | {Blank} | {Blank} | {Blank} | Date 1 | Date 2 |