Hi. VBA newbie here. In this code after running some macros I want to delete some columns (A, D to F and H to L). Unortunately it doesn't do that.
Thanks for any help!
Code:
Sheets("P_L events up to 2 months").Select
Range("B5:D424").Select
Selection.ClearContents
Range("B5").Select
Application.Run "'RSX NEW.xlsm'!copy_paste1"
Sheets("Sheet1").Select
Application.Run "'RSX NEW.xlsm'!copy_last_row1"
Columns("A:A").Select
Selection.Delete
Columns("D:F").Select
Selection.Delete
Columns("H:L").Select
Selection.Delete
End Sub