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.
モードの種類があります 毎年、四半期ごと、半年ごと 毎年押すときのようにプログラムする必要があります qauterly が押された場合、セル c3 は値 12 を取得します 3、半年ごと 6 Pls help
ボタン QLY のマクロ
Sub QLY_Click() Range("C3").FormulaR1C1 = "3" End Sub
ボタン HLY のマクロ
Sub HLY_Click() Range("C3").FormulaR1C1 = "6" End Sub
ボタン YLY のマクロ
Sub YLY_Click() Range("C3").FormulaR1C1 = "12" End Sub