1
我試圖做一個切換按鈕將其標題更改爲true或false,取決於它是true或false。我不斷收到一個錯誤,提示「編譯錯誤:表達預期」。下面是我正在使用的代碼。Powerpoint切換按鈕編譯錯誤:表達預期
Private Sub ToggleButton1_Click()
If ToggleButton1.Value = True Then
ToggleButton1.Caption = "Pressed"
Else
ToggleButton1.Caption = "Not Pressed"
End If
End Sub
它帶我到模塊1並突出顯示<符號。
「突出顯示一個<符號」...我在代碼片段中看不到任何<符號。請顯示編譯器突出顯示的行(和理想的周邊代碼) – 2014-12-09 03:22:59
我不能給你代碼。我嘗試了一種新的方法來把它放到這個項目中。對不起 – MagisterTech 2014-12-09 13:00:15