|
-
Oct 6th, 2005, 02:44 PM
#1
Page start
Evening,
Anybody know how to set the insertion point to the beginning of the current page in Word?
zaza
-
Oct 9th, 2005, 12:09 PM
#2
Re: Page start
Pay more attention to me!
-
Oct 9th, 2005, 12:38 PM
#3
Re: Page start
Sorry but I dont have any $. 
You can use this code to go to the designated page. Once the GoTo is executed it will place the cursor at the beginning of that page even if its already on that page.
VB Code:
Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:="2"
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 9th, 2005, 01:16 PM
#4
Re: Page start
Cheers RD. I knew you'd have a suggestion in the end. I may be able to cobble something with a Goto Nextpage followed by Goto PreviousPage.
zaza
-
Oct 9th, 2005, 01:19 PM
#5
Re: Page start
No, you dont need to do that as the GoTo will place the cursor at the beginning of the specified page. No need to go forward and back.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 10th, 2005, 01:35 PM
#6
Re: Page start
I gather that. But I don't know what the page number is at the current insertion point, and it isn't immediately obvious that there is a way to determine what the current page number in fact is. Unless, of course, you know...
zaza
-
Oct 10th, 2005, 02:06 PM
#7
Re: Page start
Does the NextPage/PreviousPage give a flicker or is visibly changing?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 10th, 2005, 02:23 PM
#8
Re: Page start
Yes it does. And it isn't much use when you're on the first / last page, depending on which order you do them in, because one of them won't work and then you end up on the previous/next page...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|