Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
What is the code to access border properties in an
extension using JScript?
or a macro?
Ex)
Borderwidth,bordereffect, color etc
Thanks,
Anju
Hi.. Y use a macro when you have it in your chart properties
Hi Shreya,
Because I want to be able to access all the objects with the macro.
Hi,
In Macro, you can try like this,
set up = ActiveDocument.GetApplication.GetUserPreferences
up.BorderEffect = 3 ' walled
ActiveDocument.GetApplication.SetUserPreferences up
Hi Sindhu,
How do I access it for a a particualar object?
Try this,
set mybox = ActiveDocument.GetSheetObject("LB01")
mbp = mybox.GetProperties
mbp.Layout.Frame.BorderEffect = 3
mbp.Layout.Frame.Color.PrimaryCol.Col = RGB(255,0,0)
mbp.Layout.Frame.BorderWidth = 5
mybox.SetProperties mbp
Hi Sindhu,
Is it possible to iterate through all the listboxes in a given document?