+ Reply to Thread
Results 1 to 7 of 7

GOTO Page

  1. #1
    Registered User
    Join Date
    07-22-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    5

    GOTO Page

    Hi All

    i need a VBA code TO goto specific page in document lets suppose through a loop goes to page 3 copy the content of page 3 and paste it in new document save it with the firts line of active page then goto page 5 nd paste it in new document save it with the firts line of active page , etc

    Thanks in advance
    Last edited by sunnyk; 07-25-2010 at 03:17 AM.

  2. #2
    Registered User
    Join Date
    07-22-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: GOTO Page

    Help please

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: GOTO Page

    Have some patience!
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    07-22-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: GOTO Page

    Thanks a lot Roy .
    Last edited by sunnyk; 07-25-2010 at 03:19 AM.

  5. #5
    Registered User
    Join Date
    01-28-2013
    Location
    Sussex, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: GOTO Page

    I have tried this method and it doesnt seem to work.
    My code looks like this;
    Please Login or Register  to view this content.
    Then I tried this first;
    Please Login or Register  to view this content.
    However, what it does is open up the document and goes to page 29, which happens to be section 8, not page 8

    I did try the code above;
    Please Login or Register  to view this content.
    But the debugger stopped it because it thinks that there is a syntax error

    Could someone please explain the full method and give an example of the code that you place in Excel to open up a word document and navigate to a specific page

    Many thanks,
    Scooble

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: GOTO Page

    Scooble,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  7. #7
    Registered User
    Join Date
    01-28-2013
    Location
    Sussex, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: GOTO Page

    Ok, sorry, in that case I'll post in another thread. The only reason why I posted on this thread was that I was concerned that I would be told to do a search on another thread that addresses the same problem (this one), unfortunately, this thread didn't provide a solution

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1