Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks for your help but I still need to change backstyle = fmBackStyleTransparent Someone know how to do that? Sune *** Sent via Developersdex http://www.developersdex.com *** |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Well, I could not find a way to change the BackStyle to Opaque or
Transparent, but here is the method to put a color in it. Sub dl() ActiveSheet.OLEObjects.Add(ClassType:="Forms.Label .1", Link:=False, _ DisplayAsIcon:=False, Left:=yy, Top:=xx, Width:=102.75, _ Height:=69.75).Name = "newLabel" For Each obj In Sheets(1).OLEObjects Next With Sheets(1).OLEObjects("newLabel").Object .BackColor = RGB(25, 125, 255) End With MsgBox "Observe" Sheets(1).OLEObjects("newLabel").Delete End Sub "sune" wrote: Thanks for your help but I still need to change backstyle = fmBackStyleTransparent Someone know how to do that? Sune *** Sent via Developersdex http://www.developersdex.com *** |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
P.S. The message box is only to pause the macro so you can see the color.
It is not essential to the code. "sune" wrote: Thanks for your help but I still need to change backstyle = fmBackStyleTransparent Someone know how to do that? Sune *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What does InsertNameLabel & InsertNamePaste do? | Excel Discussion (Misc queries) | |||
What does label do under Insert, Name, Label? | Excel Discussion (Misc queries) | |||
how is Insert, Name, Label different frm Accept labels in formula | Excel Discussion (Misc queries) | |||
Insert | Name | Label | Excel Discussion (Misc queries) | |||
What does Insert>name>LABEL option do ? | Excel Discussion (Misc queries) |