在Excel的csv文件中使颜色单元格 [英] make color cell in csv file for Excel

查看:499
本文介绍了在Excel的csv文件中使颜色单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在生成csv文件以导入到Excel。



p>如果不可能在csv,那么在其中Excel导入格式我可以做(a)和(b),

格式,最好基于ascii,容易生成? / p>

b)我可以向csv列添加列宽度定义吗?



感谢

解决方案

否和否! CSV文件基本上是原始单元格数据,根本没有格式。



Office Open XML(对于Excel2007及更高版本),Excel 2003 XML(对于Excel 2003及更高版本)。 HTML(不是一个很好的选择,Excel是一个有点ornery其解释的HTML)。 Sylk(.slk)可以通过Excel 2010读取的打开文档格式(.ods)。


I am generating csv file for importing into Excel. Excel has no previous formattings.

a) Is there any markup to add color definition to a cell in csv ?

If not possible in csv, then in which Excel-import format(s) can I do (a) and (b),
formats that are preferably ascii-based, and easy to generate ?

b) Can I add column widths definitions to csv columns ?

Thanks

解决方案

No and No! CSV files are basically raw cell data, with no formatting at all.

Office Open XML (for Excel2007 and above), Excel 2003 XML (for Excel 2003 and above). HTML (not really a good option, Excel is a bit ornery in its interpretation of HTML). Sylk (.slk) Open Document Format (.ods) which can be read by Excel 2010.

这篇关于在Excel的csv文件中使颜色单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆