excel工作簿中的日期格式 [英] date formate in excel workbook
本文介绍了excel工作簿中的日期格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
如何在excel表中将我的单元格格式化为excel表格中的日期格式?
请帮助....
解决方案
看看这里:按照您想要的方式格式化日期 [ ^ ]
感谢您的回复....这里是答案.....
子宏()
On Error Resume Next
Sheets(Sheet1)。选择
Sheet1.Range( B:B)。选择
Sheet1.Range(B:B)。NumberFormat =m / d / yyyy
End Sub
是的,我试过这个问题,但是当我选择日期格式时我想要的样本没有显示,我的单元格没有格式化。
hi
how do I format my cells in an excel table to a date format in my excel sheet?
please help....解决方案Have a look here: Format a date the way you want[^]
thanks for the responses....here is the answer.....
Sub Macro()
On Error Resume Next
Sheets("Sheet1").Select
Sheet1.Range("B:B").Select
Sheet1.Range("B:B").NumberFormat = "m/d/yyyy"
End Sub
yep have tried this but the problem when I select the date format I want the sample don't show and my cell is not formatted.
这篇关于excel工作簿中的日期格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文