社区
VB基础类
帖子详情
Excel中,Cell值为时间格式时,显示"######",why?
sugar
2001-05-25 08:07:00
我把Sql中的时间字段值取出,赋给Excel的某个Cell,却报如下错误:
Application-defined or object-defined error
还有Excel中,Cell值为时间格式时,显示"######",why?
...全文
195
12
打赏
收藏
Excel中,Cell值为时间格式时,显示"######",why?
我把Sql中的时间字段值取出,赋给Excel的某个Cell,却报如下错误: Application-defined or object-defined error 还有Excel中,Cell值为时间格式时,显示"######",why?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
12 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
qhzxcz
2001-11-19
打赏
举报
回复
同意redcoral(宁采臣) (
softelite
2001-06-19
打赏
举报
回复
westwin(westwin)哥哥,你的宏用的好吗??能回答以下我的问题吗??如何在Excel中给我作个自动计算工资的程序!1就象SQL_SERVER中的触发器一样!!可以给我发mail
y-elite@163.net
joeking
2001-06-18
打赏
举报
回复
如果是格式错误,肯定不会显示###,一定是列宽的问题。
xhfjy
2001-06-18
打赏
举报
回复
呵呵,来晚了
sugar
2001-06-18
打赏
举报
回复
westwin
2001-05-26
打赏
举报
回复
列宽太窄!
我前几天碰到同样的问题!
你如果想用代码控制cell中内容的格式,用宏吧,很简单的,一切问题都可以搞定!
zsuny
2001-05-25
打赏
举报
回复
错误显示格式定义有误,你可以在取Sql中的时间时,将其格式转换成字符串格式试试.
redcoral
2001-05-25
打赏
举报
回复
列宽太窄!拉长呼
lxiwei
2001-05-25
打赏
举报
回复
me
zhhrlzm
2001-05-25
打赏
举报
回复
Cell拉长
Arcan
2001-05-25
打赏
举报
回复
同意一楼的,同意二楼的,同意三楼的,谁同意我?
SmileKZS
2001-05-25
打赏
举报
回复
同意楼上的所有看法!
ComponentOne OLAP for WinForms 2012 v3
Why Choose OLAP for WinForms? Five controls you can embed into your own app thus delivering the ad-hoc analysis and your app all in one solution 99% development time savings; you only need to connect...
ComponentOne OLAP for Silverlight2012 v3 1/3
Why Choose OLAP for Silverlight? Four unique controls you can embed into your own app thus delivering the ad-hoc analysis and your app all in one solution 99% development time savings; you only need ...
POI操作
Excel
导入和导出
它不象我们仅仅是用csv生成的没有格式的可以由
Excel
转换的东西,而是真正的
Excel
对象,你可以控制一些属性如sheet,
cell
等Apache POI是Apache软件基金会的开放源码函式库,POI提供API给Java程序对Microsoft Office...
ComponentOne OLAP for Silverlight2012 v3 2/3
Why Choose OLAP for Silverlight? Four unique controls you can embed into your own app thus delivering the ad-hoc analysis and your app all in one solution 99% development time savings; you only need ...
ComponentOne OLAP for Silverlight2012 v3 3/3
Why Choose OLAP for Silverlight? Four unique controls you can embed into your own app thus delivering the ad-hoc analysis and your app all in one solution 99% development time savings; you only need ...
VB基础类
7,763
社区成员
197,609
社区内容
发帖
与我相关
我的任务
VB基础类
VB 基础类
复制链接
扫一扫
分享
社区描述
VB 基础类
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章