当前位置: 代码迷 >> VFP >> ,vfp操作excel的有关问题
  详细解决方案

,vfp操作excel的有关问题

热度:880   发布时间:2013-02-26 00:00:00.0
请教高手,vfp操作excel的问题
我要交excel中的第一列的单元格格式分类设置为特殊中的邮政编码格式,请教高手应怎样设置
oExcel.ActiveSheet.Columns(1).NumberFormatLocal = " ??? "

------解决方案--------------------------------------------------------
NumberFormatLocal = " 000000"
------解决方案--------------------------------------------------------
oExcel.ActiveSheet.Columns(1).NumberFormatLocal = "'"
------解决方案--------------------------------------------------------
oExcel.ActiveSheet.Columns(1).NumberFormatLocal = " 000000"

oExcel.ActiveSheet.Columns(1).NumberFormatLocal = "@"
  相关解决方案