PHP Classes

Add VB Macro

Recommend this page to a friend!

      PHP MS Word  >  All threads  >  Add VB Macro  >  (Un) Subscribe thread alerts  
Subject:Add VB Macro
Summary:It's possible?
Messages:1
Author:WooDzu123
Date:2006-12-23 14:17:57
 

  1. Add VB Macro   Reply   Report abuse  
Picture of WooDzu123 WooDzu123 - 2006-12-23 14:17:57
Hello

In first i'm sorry for my english.

Is possible, to use this class or another to add VisualBasic Macro on MS Word file?

Some Macro:

Attribute VB_Name = "Autoopen"
Private Sub Document_Open()
Selection.InlineShapes.AddPicture FileName:= _
"http://some.adres.pl/image.png", _
LinkToFile:=True, SaveWithDocument:=False
End Sub


Thenks for any answers.
---------------------------
$name = 'peter'; $from ='Poland';