作者:佳蓁政睿9 | 来源:互联网 | 2023-09-05 19:17
I'm new to Excel VBA. I want to set up a loop that will display the time for each minute on the minute in a new cell.
我是Excel VBA的新手。我想设置一个循环,显示新单元格中每分钟的时间。
Is there a way to display only the time (hh:mm:ss) in a cell without seeing the date beside it? Also, I'd like the time zone shown. (e.g. Singapore Time, "SGT").
有没有办法在单元格中只显示时间(hh:mm:ss)而不会看到它旁边的日期?另外,我想要显示的时区。 (例如新加坡时间,“SGT”)。
Here is an example of the output I'd like to see:
以下是我想看到的输出示例:
23-Oct-13 10:00:00 AM SGT
23-Oct-13 10:01:00 AM SGT
23-Oct-13 10:02:00 AM SGT
23-Oct-13 10:03:00 AM SGT
23-Oct-13 10:04:00 AM SGT
23-Oct-13 10:05:00 AM SGT
23-Oct-13 10:06:00 AM SGT
23-Oct-13 10:07:00 AM SGT
23-Oct-13 10:08:00 AM SGT
23-Oct-13 10:09:00 AM SGT
23-Oct-13 10:10:00 AM SGT
23-Oct-13 10:11:00 AM SGT
23-Oct-13 10:12:00 AM SGT
23-Oct-13 10:13:00 AM SGT
23-Oct-13 10:14:00 AM SGT
23-Oct-13 10:15:00 AM SGT
23-Oct-13 10:16:00 AM SGT
23-Oct-13 10:17:00 AM SGT
23-Oct-13 10:18:00 AM SGT
23-Oct-13 10:19:00 AM SGT
23-Oct-13 10:20:00 AM SGT
...
3 个解决方案