Hi
I have a problem with a csv file that I create. A new CSV file is created by an application and this file is opened by Excel (As would happen if you double clicked on the CSV file). What I would like is for a macro to execute at this point which will do some simple formatting such as making the columns wide enough to accomodate the data.
I was thinking:
1) Have a universally accessible macro that is available to all excel files.
2) Put in a setting in Excel to make sure that the columns always automatically widen to accomodate the data.
Any ideas on what the best technique would be.
Thanks very much
I have a problem with a csv file that I create. A new CSV file is created by an application and this file is opened by Excel (As would happen if you double clicked on the CSV file). What I would like is for a macro to execute at this point which will do some simple formatting such as making the columns wide enough to accomodate the data.
I was thinking:
1) Have a universally accessible macro that is available to all excel files.
2) Put in a setting in Excel to make sure that the columns always automatically widen to accomodate the data.
Any ideas on what the best technique would be.
Thanks very much