@sagar2295890 Do you need to select and delete columns? You could instead add a worksheet with formulas that filter the data to just the content you desire.
But if you really need to write VBA... Is this assigned work for a class? You can learn some of VBA by recording a macro...
- On the View ribbon, to the far right, you should see a Macros section. Click the "Record Macro..." item.
- In the dialog that appears, you can leave the "Macro name" at is default (Macro1 or Macro2 or...) or specify your own name (no spaces or special characters other than underscore). In the "Store macro in:" dropdown list, choose "This workbook". Click OK.
- Use whatever Excel features (in the user interface) -- selecting, copying, pasting, and/or deleting, etc. -- you require to make the desired results appear.
- Back on the View ribbon, click the "Macros | Stop Recording" item.
...and studying its content.
- Click the "Macros | View Macros" item.
- In the dialog that appears, select your macro, and click the Edit button.