Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear All,
is there any way to check the fill type of a shapes using VBA? I have a worksheet contain some shapes with different fills type ( e.g. Solid or Patterned ), and each shape represent different object ( e.g. patterned = car, solid = motorcycle), so I want to list all shapes with its fill type ( e.g. shape1 = textbox = fill solid) Any help will be greatly appreciated Regards |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub test()
Dim shp As Shape Dim fType As MsoFillType Set shp = ActiveSheet.Shapes(1) ' < change fType = shp.Fill.Type End Sub type "fType =" and look at the intellisense for possible values Regards, Peter T "mhisma" wrote in message ... Dear All, is there any way to check the fill type of a shapes using VBA? I have a worksheet contain some shapes with different fills type ( e.g. Solid or Patterned ), and each shape represent different object ( e.g. patterned = car, solid = motorcycle), so I want to list all shapes with its fill type ( e.g. shape1 = textbox = fill solid) Any help will be greatly appreciated Regards |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Peter,
thats works very well..:-) "Peter T" wrote: Sub test() Dim shp As Shape Dim fType As MsoFillType Set shp = ActiveSheet.Shapes(1) ' < change fType = shp.Fill.Type End Sub type "fType =" and look at the intellisense for possible values Regards, Peter T "mhisma" wrote in message ... Dear All, is there any way to check the fill type of a shapes using VBA? I have a worksheet contain some shapes with different fills type ( e.g. Solid or Patterned ), and each shape represent different object ( e.g. patterned = car, solid = motorcycle), so I want to list all shapes with its fill type ( e.g. shape1 = textbox = fill solid) Any help will be greatly appreciated Regards |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel document with shapes on it but the shapes do not print | Excel Worksheet Functions | |||
How do you color fill flow shapes in your flowchart | Excel Discussion (Misc queries) | |||
Used drawing colors in shapes....lost default colors for "Fill Col | Excel Discussion (Misc queries) | |||
Naming Auto Shapes and Creating new Shapes | Excel Discussion (Misc queries) | |||
Fill.backcolor and forecolor do not consistent in Chart and Shapes | Excel Programming |