您可能必须在范围上使用NumberFormat显式设置格式。
range.NumberFormat = "DD/MM/YYYY";
尝试这个:
=TEXT("7-20-2019", "DD/MM/YYYY")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.