Macro to execute Text-Columns, Del 2 Extra Cells and Forma

dahvaio

New Member
Joined
Apr 6, 2005
Messages
6
I run 2 reports every week and I was wondering if there was a way to automate what I am doing. I run a report; however, I have to do the following in order to get the format correct:

1: Add 2 Extra Blank Colums after COL F
2: Run Text to Columns on COL F (Delimited by SPACE)
3: Del extra Columns (G & H) "I do not need the TIME and AM/PM Format)
4: Format COL F with Date (03/14/02) Format


Here is an example of a BEFORE and AFTER:
Book1
ABCDEFGH
1BEFORE
2Incident#AffectedItemSeverityCustomerContactedDateTechnicianSubmitter
31001HHFCSoftwareThreeCustomer18/28/20068:07Tech1Sub1
41002HHFCPDA/ServiceFourCustomer2Yes9/28/200610:32Tech2Sub2
51003HHFNPDA/ServiceFourCustomer3Yes8/31/20067:43Tech3Sub3
61004HHFCSoftwareFourCustomer4Yes8/28/200613:33Tech4Sub4
7
8AFTER
9Incident#AffectedItemSeverityCustomerContactedDateTechnicianSubmitter
101001HHFCSoftwareThreeCustomer18/28/2006Tech1Sub1
111002HHFCPDA/ServiceFourCustomer2Yes9/28/2006Tech2Sub2
121003HHFNPDA/ServiceFourCustomer3Yes8/31/2006Tech3Sub3
131004HHFCSoftwareFourCustomer4Yes8/28/2006Tech4Sub4
Sheet1
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,136,267
Messages
5,674,730
Members
419,523
Latest member
Urnovio

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
Top