Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to: OLEObjects WITHOUT a border/frame ?
Help: I create an object using:
myPictArea = ActiveSheet.OLEObjects.Add(ClassType:="Forms.Image .1" etc... HOW can I have NO discernable border on that created Area?? Each time I load up an image in that object, I get a Border around it. I tried giving it the xlLineStyleNone (see below) to no avail - there is still a BLACK border appearing around the object. Is there a way to have no border/frame, so it is not visible at all ? ( With myPictArea .Placement = xlMoveAndSize .Object.BackColor = RGB(255, 255, 255) ' White background .Border.LineStyle = xlLineStyleNone End With Thanks for your help! R |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to: OLEObjects WITHOUT a border/frame ?
Hi Richard,
With myPictArea .Placement = xlMoveAndSize .Object.BackColor = RGB(255, 255, 255) ' White background .Object.BorderStyle = 0 End With Regards, MP "Richard" a écrit dans le message de news: ... Help: I create an object using: myPictArea = ActiveSheet.OLEObjects.Add(ClassType:="Forms.Image .1" etc... HOW can I have NO discernable border on that created Area?? Each time I load up an image in that object, I get a Border around it. I tried giving it the xlLineStyleNone (see below) to no avail - there is still a BLACK border appearing around the object. Is there a way to have no border/frame, so it is not visible at all ? ( With myPictArea .Placement = xlMoveAndSize .Object.BackColor = RGB(255, 255, 255) ' White background .Border.LineStyle = xlLineStyleNone End With Thanks for your help! R |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to: OLEObjects WITHOUT a border/frame ?
That did it !! THANKS !!
Richard Michel Pierron wrote: Hi Richard, With myPictArea .Placement = xlMoveAndSize .Object.BackColor = RGB(255, 255, 255) ' White background .Object.BorderStyle = 0 End With Regards, MP "Richard" a écrit dans le message de news: ... Help: I create an object using: myPictArea = ActiveSheet.OLEObjects.Add(ClassType:="Forms.Image .1" etc... HOW can I have NO discernable border on that created Area?? Each time I load up an image in that object, I get a Border around it. I tried giving it the xlLineStyleNone (see below) to no avail - there is still a BLACK border appearing around the object. Is there a way to have no border/frame, so it is not visible at all ? ( With myPictArea .Placement = xlMoveAndSize .Object.BackColor = RGB(255, 255, 255) ' White background .Border.LineStyle = xlLineStyleNone End With Thanks for your help! R |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conditional Formatting - Frame cells with Outline Border | Excel Discussion (Misc queries) | |||
Changing the border of one cell s/n change the border of adjacent | Excel Discussion (Misc queries) | |||
How to attach legend frame to chart frame? | Charts and Charting in Excel | |||
Excel Sheet - Hidden Border or Frame | Excel Discussion (Misc queries) | |||
Frame Border Color | Excel Programming |