Hi,
I want to create COM addins on Vb6 for Microsoft word application. Can anybody tell how can I do that or post some link where I can find how it should be done.
Actuallay I have some functions and I want to make them centralized so that word application can call them.
Regards,
Furqan
I have two standard dll developed in VB and I am calling one of them in vba for word. This dll has a function which calls the other dll and returns an integer which should be passed to vba, code is bellow
/////
Public Declare Function Increment Lib "D:\VBA\VB Library Files\MathLib2.dll" (var2 As...
Hi,
In my VBA program I am doing some copy and paste operations and if user have copied something before running the program then it wouldn't accessible through normal paste operation (ctrl+v) one has to view office clipboard to look for his desired copy. I want to avoid this by restoring the...
I want to go through with all the formatting in use in a word document and collect some description i am using the following code but it is not working
sub test()
dim sty as style
for each sty in activedocument.styles
if sty.inuse = true the
msgbox(sty.font.name)
end if
next
end sub
this...
Hi,
I would like to know that is there any other way to look into page setup properties using vba without opening the word document. Actually I have lorge no of files and I need to gather seetings in pagesetup for all the files I am using following code
set doc = documents.open(FilePath)
if...
when we are using declare statment like bellow
Private Declare Function GetTempPath Lib "abc.dll" _
Alias "GetTempPathA" (ByVal nBufferLength As Long,
ByVal lpBuffer As String) As Long
What would be location where vba will look for this dll file? This file is not there in...
I have a strange problem with file reference. I am trying to reference a word template which has some macros that I want to use. The problem is that whenever I try to reference this file the link got broken even though the file is present in the specified location but vba start to look for the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.