How to change only line shape color in vba powerpoint -


i have task make colour fill in powerpoint vba. when select lines , boxes want change lines , leave boxes colour. there way change private shapes?

the below code change line colours in slide 2 red in powerpoint 2007:

public sub changelinecolours()  dim shp shape  each shp in activepresentation.slides(2).shapes '<~~ change '2' whichever slide want loop through     if shp.type = msoline         shp.line.forecolor.rgb = rgb(255, 0, 0)     end if next shp  end sub 

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -