Urgent Macro HELP required....Please...

MGORIYA

New Member
Joined
Oct 7, 2010
Messages
33
Good Afternoon Guys,

I have a small confusion..
I have more than 50 Excel files... that contains...Addresses for the employees of subcontracts.

Example...
Name Address1 Address2 City Mobile No. Joining Date Trade

My problem is the above field (Columns are not in above sequence in all files... majority file have odd sequence... what I need is, the macro idenfity the field that are not in a order and arrange in above order.

I hope my question make sense...
Please if any one can find solution, i would be very help full and much much time saving....its very urgent...

THanks in advance...

Mahiuddin
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
50 different workbooks you mean?

how many worksheets in each of the workbooks contain the dat you might want to rearrange, is it always the first worksheet or a worksheet with a particular name in each workbook?
 
Upvote 0
Can the files have columns with headers that are not in your list?

Thanks for reply Mr. Andrew,

I do have colums header... like QS-001, QS-002.

etc..... but that are not in the order... like for example...

i have a file that contains data from QS-005 and QS-009, in column 3 and column 4 respectively, what i need is QS-005's data should go in column#5 i.e. E and data from QS-009's data go in column #9 i.e.Column I.

Hope this make sense...

Regards,
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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