Macro: Deleting unneeded columns from exported CSV file

unconventionality

New Member
Joined
Nov 11, 2013
Messages
1
Hi All,

I am a complete noob at macros and have searched high and low for the answer to this question and would be eternally grateful to anyone who can help me out with this.


  • I have an exported CSV file that has many unneeded columns that need to be removed.
  • I also want to split a column so that first and last name are not together.
  • I want to divide the numbers in one column by 1.1 to remove tax.
  • It also needs to change the date format from month/day/year to day/month/year.

Is there a way that I can create a macro that does all of this? If so, how?

THANKS A LOT IN ADVANCE!!
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
1. if your CSV file are always comes with same columns {headings}, then you can go for macro but exporting CSV file through macro is bit challenging. 'coz not sure the conversion will be successfull
2. if you send your file with ex so will be easier to help you out :)
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top