Looping Through Pages of a Word Doc With VBA
Wed, 5 Mar 2008 14:04:13 -0800 (PST)
Hi there,
I'm very new to VBA so I don't really know if I what I want to do is
even possible, much less how to go about it.
What I want to do is, given a document, to loop through it, find all
the frames, and change their height. I can do this part. Here's the
hard part though: I want to change the frame ...
|
problem with a recorded macro
Tue, 4 Mar 2008 10:48:08 -0800 (PST)
I've recorded a macro in Word 2000. It takes a column of addresses,
fiddles with the newline and paragraph characters, then converts to a
2-column table. It appears to work OK, the table looks good. But it
refuses to print out.
When I use Print Preview, I see a single blank page, with no table in
sight. Wh ...
|
How to find and delete a Heading with subtext?
Tue, 4 Mar 2008 04:44:44 -0800 (PST)
My Word document consists of several headings with subtext. I want to
find all headings (with the built-in heading style "Heading 4") that
contain a specific keyword (e.g. "TEST") and delete all text under
this heading.
In the example below, I want to delete heading 1.1.1.1 and 1.1.1.3
including the subtext.
I ...
|
How I can select all data between two headers ?
Tue, 26 Feb 2008 06:02:09 -0800 (PST)
Hi All,
Does anyone know is it possible to select all data between two
header ? I can find header # 1 by running followed code:
Selection.Find.ClearFormatting
Selection.GoTo what:=wdGoToHeading, which:=wdGoToAbsolute, Count:=1,
Name:=""
Thanks! ...
|
VBA Excel problem
Mon, 25 Feb 2008 06:57:02 -0800
Hi,
I am new to VBA - has created some simple macros in excel (2002).
Now I need to select and delete a row in such a macro. How?? ...
|
VBA Word Count
Wed, 20 Feb 2008 15:35:53 -0000
Hi, couple of minor problems. I wanted to help my wife with a macro that
would count all the words in the document and also the number of words in
bold. I can't even get to first base on this because the VBA word count
seems to be all screwy.
For example: 'MsgBox ActiveDocument.Range.Words.Count' returns an ...
|
Split a Document
Wed, 20 Feb 2008 04:31:01 -0800
Hi
I am not sure if this question was asked before, tried searching the forum
but couldnâ??t find a relative topic.
Basically I have a huge document consisting of abstracts for a conference. I
have been asked to make individual file of each abstract, which means to copy
paste each abstract from the main ...
|
|
|
how do I get word and paragraph based on character position?
Fri, 15 Feb 2008 09:05:01 -0800
Let say I want to know the word or the paragraph that contains the character
2043.
How do I call them?
--------------------------------
For the story I have a book of Italian cooking recipes (the absolute best
one that every italian grandma has on her shelves) in plain text that I am
trying to put in a ni ...
|
Using VBA to open a new web page
Fri, 15 Feb 2008 16:04:50 +0800
Hello,
I use the following code in Word VBA for firing up the default browser and
opening the Google web site:
Dim objshell As Object
Set objshell = CreateObject("Shell.Application")
objshell.Open "http://www.google.com"
However, if the default browser is already running, the above VBA code will
open ...
|
Date Format
Mon, 11 Feb 2008 07:50:49 -0700
I am using a Macro Public Function in Excel which format the date:
Optional Formato As String = "dd mmmm yyyy" _
) As Variant
this display by example 11 Febrero 2008,
but I need to display 11 de Febrero de 2008
It's possible to change to this format?
Thanks for your help
...
|