Started 18 hours, 17 minutes ago (2010-01-06 11:29:00)
by Doug Robbins - Word MVP
To use
Late Binding, you must create and set an object to the application
that you want to use. You do not appear to have done that.
See the article "Early vs. Late Binding" at:
http://www.word.mvps.org/FAQs/InterDev/EarlyvsLate Binding.htm
Started 3 days, 21 hours ago (2010-01-03 07:57:00)
by Graham Mayor
Try
Dim oPara As Paragraph
For Each oPara In ActiveDocument.Paragraphs
If oPara.Style = "Heading 2" Then
With oPara.Range
'Do stuff
End With
End If
Next oPara
Started 1 week, 1 day ago (2009-12-29 08:07:00)
by Nit_Wit_400
VERY SORRY!!
Posted this to the wrong group!
.
Started 1 week, 2 days ago (2009-12-28 17:49:00)
by Doug Robbins - Word MVP
See:
http://visualbasic.about.com/od/learnvbnet/a/LVBE_ L1.htm
Started 2 weeks, 1 day ago (2009-12-23 00:57:00)
by Graham Mayor
If text is selected, the action of the search function is to find from
within that selection. The double click method is merely a shortcut to
inserting a word into the Find window. See your other post.
Started 2 weeks, 1 day ago (2009-12-23 00:57:00)
by Graham Mayor
The
macro recorder is limited in its abilities. To insert text from the
clipboard you would have to manually configure the macro to use text from
the clipboard e.g.
Dim sFindText As String
Dim sReplaceText As String
Dim oClip As DataObject
Set oClip = New DataObject
oClip.GetFromClipboard
...
Started 2 weeks, 2 days ago (2009-12-21 11:25:00)
by Doug Robbins - Word MVP
Use:
Dim
oshp As Shape
Set oshp = ActiveDocument.Shapes.AddCanvas(0, 0, 100, 100)
oshp.WrapFormat.Type = wdWrapInline
Started 2 weeks, 5 days ago (2009-12-18 23:27:00)
by Graham Mayor
You can do this with Word 2007, provided you have the PDF plug-in installed
with the following macro.
Earlier Word versions do not have the ability to save to PDF and require a
third party application to do so.
If your third party application is not Acrobat, you may have to acknowledge
a confirmation prompt for each ...