Thank you, Librebel.
I will give it a try and let you know.
thank you for the help.
But the way this is the code that was created by recording the macro… then I was just copy and editing the args02
numbers and then paste at the end… over and over again… it works… but looks like a silly code.
code
rem ----------------------------------------------------------------------
dispatcher.executeDispatch(document, “.uno:EndOfLineSel”, “”, 0, Array())
rem ----------------------------------------------------------------------
dim args68(0) as new com.sun.star.beans.PropertyValue
args68(0).Name = “FontColor”
args68(0).Value = 16222213
dispatcher.executeDispatch(document, “.uno:FontColor”, “”, 0, args68())
rem ----------------------------------------------------------------------
dim args69(2) as new com.sun.star.beans.PropertyValue
args69(0).Name = “FontHeight.Height”
args69(0).Value = 24
args69(1).Name = “FontHeight.Prop”
args69(1).Value = 100
args69(2).Name = “FontHeight.Diff”
args69(2).Value = 0
dispatcher.executeDispatch(document, “.uno:FontHeight”, “”, 0, args69())
rem ----------------------------------------------------------------------
dispatcher.executeDispatch(document, “.uno:GoToStartOfLine”, “”, 0, Array())
rem ----------------------------------------------------------------------
dim args70(1) as new com.sun.star.beans.PropertyValue
args70(0).Name = “Count”
args70(0).Value = 1
args70(1).Name = “Select”
args70(1).Value = false
dispatcher.executeDispatch(document, “.uno:GoDown”, “”, 0, args70())
rem ----------------------------------------------------------------------
dim args71(1) as new com.sun.star.beans.PropertyValue
args71(0).Name = “Count”
args71(0).Value = 1
args71(1).Name = “Select”
args71(1).Value = false
dispatcher.executeDispatch(document, “.uno:GoDown”, “”, 0, args71())