Hi,
I have a table where the first column, other than the heading, contains an automatically generated number. This was created via Format | Bullets and Numbering.
When I:
TMReqNo = TMTable.Cell(LastRow, 1).Range.Text
MsgBox (TMReqNo)
The message displayed does not contain the automatic...
Hi,
I am trying to determine which heading the selected text is under when the macro is executed.
Selection.Find.ClearFormatting
Selection.Find.Style = ActiveDocument.Styles("Heading 1")
With Selection.Find
.Text = "^p"
.Replacement.Text = ""...
Hi,
I'm having trouble displaying information from a variety of Word constants:
For instance:
PageNumber = Selection.Information(wdActiveEndPageNumber)
MsgBox (PageNumber)
works OK but:
DocTitle = ActiveDocument.Fields(wdFieldTitle).Result
MsgBox (DocTitle)
returns a message saying that...
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.