Does anyone know what the property that sets or changes the "Draw Border Inside Frame" functionality? This is a checkbox in the Autoshape format dialog under Colors and Borders. It has been baffling me for some time, and I cannot figure it out. I even examined two objects (one set true and one false) in a watch window and could not see any difference... Any help would be appreciated.
To add the border equally to both the inside and the outside of a rectangle, rather than to the inside only, clear the Draw border inside frame check box. This will help to prevent the border from overlapping objects that are located inside of the rectangle. Select the rectangle, and then click AutoShape on the Format menu. Click the Colors and Lines tab and then clear the Draw border inside frame check box. -- Mary Sauer MSFT MVP http://office.microsoft.com/ http://msauer.mvps.org/ news://msnews.microsoft.com "Cory" wrote in message news:7C39A3B5-8D14-4C23-94A0-D20FDFEEA203@microsoft.com... > Does anyone know what the property that sets or changes the "Draw Border > Inside Frame" functionality? This is a checkbox in the Autoshape format > dialog under Colors and Borders. It has been baffling me for some time, and > I cannot figure it out. I even examined two objects (one set true and one > false) in a watch window and could not see any difference... Any help would > be appreciated.
Actually I was asking about the VBA property that would change that functionality, and I found it. It is the InsetPen property which is Boolean. ActiveDocument.Pages(1).Shapes(1).Line.InsetPen = msoTrue/msoFalse... Cory "Mary Sauer" wrote: > To add the border equally to both the inside and the outside of a rectangle, > rather than to the inside only, clear the Draw border inside frame check box. > This will help to prevent the border from overlapping objects that are located > inside of the rectangle. > > Select the rectangle, and then click AutoShape on the Format menu. > Click the Colors and Lines tab and then clear the Draw border inside frame check > box. > > -- > Mary Sauer MSFT MVP > http://office.microsoft.com/ > http://msauer.mvps.org/ > news://msnews.microsoft.com > > "Cory" wrote in message > news:7C39A3B5-8D14-4C23-94A0-D20FDFEEA203@microsoft.com... > > Does anyone know what the property that sets or changes the "Draw Border > > Inside Frame" functionality? This is a checkbox in the Autoshape format > > dialog under Colors and Borders. It has been baffling me for some time, and > > I cannot figure it out. I even examined two objects (one set true and one > > false) in a watch window and could not see any difference... Any help would > > be appreciated. > > >
Cory wrote: > Actually I was asking about the VBA property that would change that > functionality, and I found it. It is the InsetPen property which is Boolean. > ActiveDocument.Pages(1).Shapes(1).Line.InsetPen = msoTrue/msoFalse... Cool, thanks for sharing your solution :) (Although anything that takes "msoTrue" and "msoFalse" isn't Boolean, it's msoTriState. Not that that makes a blind bit of different for 99% of users.) -- Ed Bennett - MVP Microsoft Publisher http://ed.mvps.org