![]() |
attach manifest on install of a smart document
I have a smart document and i want create a custom action in installation setup (made in VB.NET) that attach a xml manifest to a excel model (xlt)...
I saw an axample for Word but i'm not be able to traduce in excel: could you give me an help please example in Word Dim objWord As New Word.Applicatio Dim objDoc As Word.Documen Const ALIAS As String = "Simple Sample Const URI = €śSimple.Sample€ objWord.XmlNamespaces.InstallManifest ("C:\temp\manifest.xml" Set objDoc = objWord.Documents.Open("C:\temp\SimpleSample.doc€ ť objDoc.Activat objWord.XmlNamespaces.Item(Index:=URI).AttachToDoc ument Document:=ActiveDocumen objDoc.Sav objDoc.Clos Set objDoc = Nothin objWord.Qui |
All times are GMT +1. The time now is 01:58 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com