Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望能够从当前日期确定上一季度并显示为 Q2 或 Q3 或 Q4 等。
我有查找和显示上个月的代码(见下文),但找不到季度的类似代码。提前致谢。 Range("A4") = Format(DateAdd("m", -1, Date), " mmm yy")
Range("A4") = Format(DateAdd("m", -1, Date), " mmm yy")