To go to a specific location in a document we use

  1. Range.GoTo method (Word)
  2. vba
  3. Learn How to Use the Navigation Pane in Microsoft Word
  4. How to Position Images and Other Objects in Microsoft Word
  5. html
  6. How to Position Images and Other Objects in Microsoft Word
  7. vba
  8. html
  9. Range.GoTo method (Word)
  10. Learn How to Use the Navigation Pane in Microsoft Word


Download: To go to a specific location in a document we use
Size: 74.48 MB

Range.GoTo method (Word)

In this article Returns a Range object that represents the start position of the specified item, such as a page, bookmark, or field. Syntax expression. GoTo( What , Which , Count , Name ) expression Required. A variable that represents a Parameters Name Required/Optional Data type Description What Optional Variant The kind of item to which the range is moved. Can be one of the Which Optional Variant The item to which the range is moved. Can be one of the Count Optional Variant The number of the item in the document. The default value is 1. Only positive values are valid. To specify an item that precedes the range, use wdGoToPrevious as the Which argument and specify a Count value. Name Optional Variant If the What argument is wdGoToBookmark, wdGoToComment, wdGoToField, or wdGoToObject, this argument specifies a name. Only positive values are valid. To specify an item that precedes the range, use wdGoToPrevious as the Which argument and specify a Count value. Remarks The following example moves the range up two lines. ActiveDocument.Range.GoTo What:=wdGoToLine, Which:=wdGoToPrevious, Count:=2 The following example moves to the next DATE field. ActiveDocument.Range.GoTo What:=wdGoToField, Name:="Date" The following example moves the range to the fourth line in the document. ActiveDocument.Range.GoTo What:=wdGoToLine, Which:=wdGoToAbsolute, Count:=4 The following examples are functionally equivalent; they both move the range to the first heading in the document. ActiveDocumen...

vba

I wrote the following script which enable me to open a word doc from outlook: Sub OpenSOPRR() Dim wordApp As Word.Application Dim wordDoc As Word.Document Set wordApp = GetObject(, "Word.Application") If wordApp Is Nothing Then Set wordApp = CreateObject("Word.Application") wordApp.Visible = True End If Set wordDoc = wordApp.Documents.Open("C:\Documents and Settings\aa471714\Desktop\Doc1.doc") Set wordApp = Nothing Set wordDoc = Nothing End Sub I now however would like to add something which enable me to directly go to a particular place in the doc. So that i for example classify a header on page 2 as "area1" and can directly go there... you need to tell us exactly what you want to find in your document to get any idea from us. @Christina's idea is one of the most popular technique. But there could be some more as far as some part of document are explicitly separated. The other popular solution is to use .find object to get to appropriate part of document. Try with macro recorder.

Learn How to Use the Navigation Pane in Microsoft Word

A small thumbnail displays for each occurrence found for the word or phrase entered. To jump to an occurrence, click on the appropriate thumbnail. Every occurrence of the word or phrase is temporarily highlighted on the screen, as well, allowing you to quickly spot the text for which you are searching. You can also use wildcards in your search by selecting the Use wildcards option. For instance, if you enter “c?i,” the results would display all words or portions of words that contain “c” as the first letter and “i” as the third letter. All other letters can vary. You can find a list of available wildcard characters on Microsoft’s site The Find and Replace dialog box displays. This dialog box is similar to the one you’ve seen in previous versions of Word. The options from the Find Options dialog box are available by clicking the More button. You can also select to find certain formats, such as text formatted with a specific font or paragraph style. Clicking the Special button allows you to search for many special characters and marks.

How to Position Images and Other Objects in Microsoft Word

Rob Woodgate Writer Rob Woodgate is a writer and IT consultant with nearly 20 years of experience across the private and public sectors. He's also worked as a trainer, technical support person, delivery manager, system administrator, and in other roles that involve getting people and technology to work together. A Quick Word About Text Wrapping Before we get to those positioning tools, though, you should know a bit about text wrapping. By default, when you insert images and other illustration objects into your document, Word applies one of two forms of text wrapping: “in line with text” (for images and most other illustration objects) or “in front of text” (for shapes and 3D models). When you set an object’s text wrapping to be in line with text, Word treats the object in question as a text character. If you type or paste text before or after the object, it moves along the line and down the page just like any other text character. When you set an object’s text wrapping to be in front of the text, the object appears on top of any text, and you can move it to any position you want. Understanding how to wrap text around objects is an important part of getting objects positioned the way you want, so if you’re not already familiar with how it works, we highly recommend you read our RELATED: How to Wrap Text Around Pictures and Other Illustrations in Microsoft Word In this article, we’re using an object for which we’ve set the text wrapping to “square.” The positioning tools we...

html

I have a link on one page that needs to go to a different page, but load to a specific section on that other page. I have done this before with bootstrap but they take all the 'coding' out of it, so I need to know how to do from scratch. Here is the markup I have based on this link (not the best resource, I know): **Page One** Click here **Page I am linking to** ... Can I do this with just HTML, or do I need some JavaScript? If I need to do it via JS, it needs to be on the target page, right? I believe the example you've posted is using HTML5, any DOM element with the matching ID attribute. To support older browsers, you'll need to change: To the old format: You'll then be able to navigate to /academics/page.html#timeline and jump right to that section. Also, check out this I tried the above answer - using page.html#ID_name it gave me a 404 page doesn't exist error. Then instead of using .html, I simply put a slash / before the # and that worked fine. So my example on the sending page between the link tags looks like: El Chorro Just use / instead of .html.

How to Position Images and Other Objects in Microsoft Word

Rob Woodgate Writer Rob Woodgate is a writer and IT consultant with nearly 20 years of experience across the private and public sectors. He's also worked as a trainer, technical support person, delivery manager, system administrator, and in other roles that involve getting people and technology to work together. A Quick Word About Text Wrapping Before we get to those positioning tools, though, you should know a bit about text wrapping. By default, when you insert images and other illustration objects into your document, Word applies one of two forms of text wrapping: “in line with text” (for images and most other illustration objects) or “in front of text” (for shapes and 3D models). When you set an object’s text wrapping to be in line with text, Word treats the object in question as a text character. If you type or paste text before or after the object, it moves along the line and down the page just like any other text character. When you set an object’s text wrapping to be in front of the text, the object appears on top of any text, and you can move it to any position you want. Understanding how to wrap text around objects is an important part of getting objects positioned the way you want, so if you’re not already familiar with how it works, we highly recommend you read our RELATED: How to Wrap Text Around Pictures and Other Illustrations in Microsoft Word In this article, we’re using an object for which we’ve set the text wrapping to “square.” The positioning tools we...

vba

I wrote the following script which enable me to open a word doc from outlook: Sub OpenSOPRR() Dim wordApp As Word.Application Dim wordDoc As Word.Document Set wordApp = GetObject(, "Word.Application") If wordApp Is Nothing Then Set wordApp = CreateObject("Word.Application") wordApp.Visible = True End If Set wordDoc = wordApp.Documents.Open("C:\Documents and Settings\aa471714\Desktop\Doc1.doc") Set wordApp = Nothing Set wordDoc = Nothing End Sub I now however would like to add something which enable me to directly go to a particular place in the doc. So that i for example classify a header on page 2 as "area1" and can directly go there... you need to tell us exactly what you want to find in your document to get any idea from us. @Christina's idea is one of the most popular technique. But there could be some more as far as some part of document are explicitly separated. The other popular solution is to use .find object to get to appropriate part of document. Try with macro recorder.

html

I have a link on one page that needs to go to a different page, but load to a specific section on that other page. I have done this before with bootstrap but they take all the 'coding' out of it, so I need to know how to do from scratch. Here is the markup I have based on this link (not the best resource, I know): **Page One** Click here **Page I am linking to** ... Can I do this with just HTML, or do I need some JavaScript? If I need to do it via JS, it needs to be on the target page, right? I believe the example you've posted is using HTML5, any DOM element with the matching ID attribute. To support older browsers, you'll need to change: To the old format: You'll then be able to navigate to /academics/page.html#timeline and jump right to that section. Also, check out this I tried the above answer - using page.html#ID_name it gave me a 404 page doesn't exist error. Then instead of using .html, I simply put a slash / before the # and that worked fine. So my example on the sending page between the link tags looks like: El Chorro Just use / instead of .html.

Range.GoTo method (Word)

In this article Returns a Range object that represents the start position of the specified item, such as a page, bookmark, or field. Syntax expression. GoTo( What , Which , Count , Name ) expression Required. A variable that represents a Parameters Name Required/Optional Data type Description What Optional Variant The kind of item to which the range is moved. Can be one of the Which Optional Variant The item to which the range is moved. Can be one of the Count Optional Variant The number of the item in the document. The default value is 1. Only positive values are valid. To specify an item that precedes the range, use wdGoToPrevious as the Which argument and specify a Count value. Name Optional Variant If the What argument is wdGoToBookmark, wdGoToComment, wdGoToField, or wdGoToObject, this argument specifies a name. Only positive values are valid. To specify an item that precedes the range, use wdGoToPrevious as the Which argument and specify a Count value. Remarks The following example moves the range up two lines. ActiveDocument.Range.GoTo What:=wdGoToLine, Which:=wdGoToPrevious, Count:=2 The following example moves to the next DATE field. ActiveDocument.Range.GoTo What:=wdGoToField, Name:="Date" The following example moves the range to the fourth line in the document. ActiveDocument.Range.GoTo What:=wdGoToLine, Which:=wdGoToAbsolute, Count:=4 The following examples are functionally equivalent; they both move the range to the first heading in the document. ActiveDocumen...

Learn How to Use the Navigation Pane in Microsoft Word

A small thumbnail displays for each occurrence found for the word or phrase entered. To jump to an occurrence, click on the appropriate thumbnail. Every occurrence of the word or phrase is temporarily highlighted on the screen, as well, allowing you to quickly spot the text for which you are searching. You can also use wildcards in your search by selecting the Use wildcards option. For instance, if you enter “c?i,” the results would display all words or portions of words that contain “c” as the first letter and “i” as the third letter. All other letters can vary. You can find a list of available wildcard characters on Microsoft’s site The Find and Replace dialog box displays. This dialog box is similar to the one you’ve seen in previous versions of Word. The options from the Find Options dialog box are available by clicking the More button. You can also select to find certain formats, such as text formatted with a specific font or paragraph style. Clicking the Special button allows you to search for many special characters and marks.

Tags: To go to a specific