------ Register to get rid of these "In Post" ads! ------
On Aug 23, 6:31*pm, Esgrimidor <Esgrimidor.3xe...@thecodecage.com>
wrote:
> Enter in word and search for a mark
>
> I would like a VB script to execute from Start - Execute for open a
> word document by a chapter, mark or any other symbol.
>
> Thanksss
>
> This is my first post. Best Regard to all forumers.
>
> --
> Esgrimidor
> ------------------------------------------------------------------------
> Esgrimidor's Profile:http://www.thecodecage.com/forumz/members/esgrimidor.html
> View this thread:Enter in word and search for a mark
It would appear to me that you are asking for a macro that runs on
'Original Source: The Code Cage Forums http://www.thecodecage.com/forumz/word-vba-programming/127852-enter-word-search-mark.html#post464682
document open and then finds a specific value? Like a chapter title or
a symbol?
in the
VB editor under this document:
Private Sub Document_Open()
Dim temp As String
temp = InputBox("please enter the starting point:", "No Title")
If Len(temp) > 0 Then
Selection.Find.Execute temp
End If
End Sub
This will bring you to the first instance of whatever you type in the
input box.
Hope that helps