Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8311691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:54:01+00:00 2026-06-08T19:54:01+00:00

https://stackoverflow.com/a/11624006/1553562 How do i limit my search to a limited range of documents taken

  • 0

https://stackoverflow.com/a/11624006/1553562

How do i limit my search to a limited range of documents taken as input from the user???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T19:54:02+00:00Added an answer on June 8, 2026 at 7:54 pm

    This will let you specify your range from Page 3 to Page 20

    Sub Sample()
        Dim rng As Range
        Dim StartPage As Long, EndPage As Long
    
        StartPage = 3: EndPage = 20
    
        Selection.GoTo What:=wdGoToPage, Which:=wdGoToAbsolute, Count:=StartPage
    
        Set rng = Selection.Range
    
        Selection.GoTo What:=wdGoToPage, Which:=wdGoToAbsolute, Count:=EndPage
    
        rng.End = Selection.Bookmarks("\Page").Range.End
    
        '~~> Now you have got your range. Do the necessary action here
        With rng
    
        End With
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As taken from https://stackoverflow.com/questions/4891301/top-bad-practices-in-php Is this similar code killing kittens, too? foreach (file(longFile.txt) as
i have search at https://stackoverflow.com/search?q=UITableView+dataSource+must+return+a+cell+from+tableView%3AcellForRowAtIndexPath ,but i know i need to check if the
i have search at this websit : https://stackoverflow.com/search?page=2&tab=relevance&q=nsarraym%20objectatindex%20index%205%20beyond%20bounds%20for%20empty%20array%27 but the solve no suit me.
Extension from https://stackoverflow.com/a/55191/547210 I am creating a validating function to check several attributes of
Multiple duplicates: https://stackoverflow.com/search?q=svnversion I'm using TortoiseSVN with SVN Service running as a service on
I found this question https://stackoverflow.com/questions/4612563/get-push-notification-from-twitter-on-status-updates , but there was no answer. I'm looking to
Here is a quote from https://stackoverflow.com/users/893/greg-hewgill answer to Explain Python's slice notation . Python
I try to call the code from this link https://stackoverflow.com/a/9100406/942113 with gwt jsni. My
From here: https://stackoverflow.com/a/2485177/462608 For thread-safe accesses to shared data, we need a guarantee that
From here: https://stackoverflow.com/a/5524120/462608 If you want to lock several mutex-protected objects from a set

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.