ironsides
Well-known Member
- Joined
- Aug 12, 2002
- Messages
- 575
Excel2000. My work sheet is unlocked.
I'm using this macro successfully
Sub Delete()
'
' Delete Macro
' Macro recorded 10/11/2006 by USER
'
' Keyboard Shortcut: Ctrl+Shift+D
'
Range("C:C,E:E,F:F,G:G,M:M,O:O,Q:Q,S:S,T:T,U:U,V:V,W:W,X:X,Y:Y,AA:AA,AG:AG,AH:AH,AI:AI,AJ:AJ,AK:AK,AL:AL,AM:AM,AN:AN,AO:AO,AQ:AQ,AR:AR,AS:AS,AT:AT").Select
Range("AT1").Activate
Selection.Delete Shift:=xlToLeft
End Sub
I inserted five columns contiguously between AN:AN,AO:AO and edited the macro accordingly.
The edited macro does not work
Is it possible to insert cols and get the macro to work successfully?
I'm using this macro successfully
Sub Delete()
'
' Delete Macro
' Macro recorded 10/11/2006 by USER
'
' Keyboard Shortcut: Ctrl+Shift+D
'
Range("C:C,E:E,F:F,G:G,M:M,O:O,Q:Q,S:S,T:T,U:U,V:V,W:W,X:X,Y:Y,AA:AA,AG:AG,AH:AH,AI:AI,AJ:AJ,AK:AK,AL:AL,AM:AM,AN:AN,AO:AO,AQ:AQ,AR:AR,AS:AS,AT:AT").Select
Range("AT1").Activate
Selection.Delete Shift:=xlToLeft
End Sub
I inserted five columns contiguously between AN:AN,AO:AO and edited the macro accordingly.
The edited macro does not work
Is it possible to insert cols and get the macro to work successfully?