View Single Post
Old 05-28-2007, 12:20 PM   #9
pdarcy
Member
pdarcy began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2007
Location: Canada
Device: Kindle 2
Edit rtf author

From the Open Office forum

Sub ChangeAuthor
Dim props,sAns
props = ThisComponent.getDocumentInfo
sAns = InputBox("Enter author name.","Change Author",)
If sAns = "" then End
props.Author = sAns
End Sub

Works in Open Office on Windows and NeoOffice on a Mac. Changes only the current document not the User Settings.
pdarcy is offline   Reply With Quote