|
I have a (set of) word document(s) for which I'm trying to get various properties (number of pages, author etc) using Win32::OLE in Perl:
print $MSWord->Documents->Open($name)-> BuiltInDocumentProperties->{"Number of pages"}->value . " ...
Started by MatthieuF on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Is the Perl response always consistent with the page count of the first section? I'm wondering if page-count is dependent upon the currently selected printer/setup, and the "Perl printer" (whatever that is) is setup differently than the ....
|
|
Is there a way to make a paragraph in a Microsoft Word 2003 document readonly using VBA?
Started by joe on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
WdCharacter, Count:=11, Extend:=wdExtend Selection.Editors.Add wdEditorEveryone ActiveDocument.protect.
|
|
This is basic stuff, but I'm somewhat unfamiliar with VBA and the Word/Access object models.
I have a two column database of about 117000 records. The columns are 'surname' and 'count'. I want a user to be able to type SMITH in a textbox and hit submit...
Answer Snippets (Read the full thread at stackoverflow):
First of all, be careful naming the column 'count' -- this is a keyword in SQL and might cause, _ Connection:="TABLE Members", SQLStatement:= _ "SELECT [Count] FROM [Members]" _ & " WHERE Surname.
|
Ask your Facebook Friends
|
I was wondering how to avoid using Windows clipboard, when you want to "replicate" multiple sections of a Word document (using VBA in macros)
Why to avoid? Because we're using Word on a server, in a multiuser environment (I know that it is officially ...
Started by keftebub on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
WdCharacter, Count:=-1 //' somehow the last word of the contents of the cell is always Chr(13) & Chr(7 into other programs for the stuff i'm doing - but for the time being I'll have to stick with Word i'll end up copying formatting....
|
|
Hello all,
I have been tasked with a project at work that I have hit a brick wall on. I have a MS Word doc in which I need to search the entire document for the words "Pass" and "Fail" the totals will need to be entered into a table 4 columns 2 row - ...
Started by adamcfishman on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at vbaexpress):
Yes totals://word.tips.net/T001833_Generating_a_Count_of_Word_Occurrences.html
iCount would be responsibleHow is Word to know what ....
And to put that count at a specific location, say a cell in a table.
Specific word.
|
|
I need to create documents, (~150 reports, letters) mostly from pre-existing snippets and local databases, with VBA, in Word 2003. I then need to change specific parts of those snippets, such as dates, phrases, user information, &c. There are also, obviously...
Answer Snippets (Read the full thread at stackoverflow):
While Microsoft is saying that VBA will not go away, I think.
2003 should be reconsidered.
|
|
Hello,
I hope someone can help me here I'm working with OO Writer and i need to find a specific Paragraph in a .odt file
For Example i have a text with 608 Paragraphs in total (File - Properties - Statistics) and i want to find the 258th Paragraph in ...
Started by evils on
, 2 posts
by 2 people.
Answer Snippets (Read the full thread at oooforum):
Code: Sub FindParagraphNumber
n = InputBox ("Enter desired.
Remember that blank paragraphs count.
|
|
I have an Excel spreadsheet containing a list of strings. Each string is made up of several words, but the number of words in each string is different.
Using built in Excel functions (no VBA), is there a way to isolate the last word in each string?
Examples...
Started by e.James on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
It's hard to answer your question properly if you don't indicate what makes VBA inappropriate (since you can write your own macros and functions in VBA, making it equivalent to the built-in functions
This gives you the position of the last....
|
|
I have just leant a bit of COM, and I know that the VBA programming is based on COM component provided by MS. But I do not now know how to programming office with c++, because I do not know how to import type library or something for my c++ programme....
Started by jcyang on
, 1 posts
by 1 people.
Answer Snippets (Read the full thread at microsoft):
|
|
I'm trying to instantiate an object and return it from a function. The class I'm working with is one that I've created. However when I try to set an Object to what was returned from the function I get an error. What am I doing wrong?
Function CreateBlah...
Started by ChrisDiRulli on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Public Sub Example() ''//Requires reference to Microsoft Office Word ''//(Tools>References) Dim.
|