ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Convert CSV File Into Formatted Excel Document (https://www.excelbanter.com/excel-discussion-misc-queries/85729-convert-csv-file-into-formatted-excel-document.html)

Andy

Convert CSV File Into Formatted Excel Document
 
Hi,

I am wondering how i can convert CSV file into formatted excel
document/template. For example, i have a csv file and a formatted excel
template (column A is bold, column B is italic and etc.) file, my question is
that is there a way to open/load the csv file into the formatted excel file
maintaining the excel format? thanks.

Andy

Pete_UK

Convert CSV File Into Formatted Excel Document
 
If you open the .csv file it will appear in its own window. You could
then open your template. In the .csv file window, highlight all the
cells (CTRL-A) and click <copy then click over to your template
window, ensure that your cursor is in cell A1 and Edit | Paste Special
| Values (check), OK and <Esc - by using paste special, the formats in
your template will remain. Don't forget to use File | Save As to save
the template with a different name.

An alternative is to <copy all the cells in the template, click over
to the .csv file window, select A1 then Edit | Paste Special | Formats
(check) then OK and <Esc - this approach will paste the formats over
the data you have just imported (you could use the format painter, as
well).

Hope this helps.

Pete


Andy

Convert CSV File Into Formatted Excel Document
 
thanks, Pete. It really helps.

Andy

"Pete_UK" wrote:

If you open the .csv file it will appear in its own window. You could
then open your template. In the .csv file window, highlight all the
cells (CTRL-A) and click <copy then click over to your template
window, ensure that your cursor is in cell A1 and Edit | Paste Special
| Values (check), OK and <Esc - by using paste special, the formats in
your template will remain. Don't forget to use File | Save As to save
the template with a different name.

An alternative is to <copy all the cells in the template, click over
to the .csv file window, select A1 then Edit | Paste Special | Formats
(check) then OK and <Esc - this approach will paste the formats over
the data you have just imported (you could use the format painter, as
well).

Hope this helps.

Pete



Pete_UK

Convert CSV File Into Formatted Excel Document
 
Well, thanks for feeding back, Andy.

Pete



All times are GMT +1. The time now is 07:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com