vba程式碼實現:ppt中的文字框有文字,游標在文字中的某個位置.要求有兩個數字,第一

  • 作者:由 匿名使用者 發表于 攝影
  • 2022-08-15

vba程式碼實現:ppt中的文字框有文字,游標在文字中的某個位置.要求有兩個數字,第一帝王2018.10.07 回答

設定上下表數字,大神可以搞定

vba程式碼實現:ppt中的文字框有文字,游標在文字中的某個位置.要求有兩個數字,第一匿名2018.06.12 回答

sub change_whitetext_toblack()

on error resume next

dim i, j as single

for i = 2 to activepresentation。slides。count

for j = 1 to activepresentation。slides(i)。shapes。count

with activepresentation。slides(i)。shapes(j)

if 。fill。backcolor = vbwhite and 。textframe。textrange。font。color = vbwhite then

。textframe。textrange。font。color = vbblack

end if

end with

next

next

end sub

插入模組,複製程式碼到其中。

Top