|
ED
|
avaliable
|
RT
|
not used
|
Copies the settings of an existing function to the function
object.
Sub CopyFunction() Dim zFct As RtFunction Dim zFctCopy As RtFunction 'get existing function Set zFct = MyWorkspace.ActiveDocument.RtFunctions.Item("picSTART") 'create new function Set zFctCopy = MyWorkspace.ActiveDocument.RtFunctions.Create("TESTING", tpPicture) 'copy existing function settings to new one... Debug.Print zFctCopy.Copy(zFct) End Sub