|
-
Mar 8th, 2006, 08:07 AM
#1
[RESOLVED] Bookmarks In Word
I'm creating a template in Word that will be feed from a VB6 screen and a form letter produced.
I know how to create a Bookmark, and use that bookmark to hold information entered in a control in VB6.
However, when I open up the template, using Word itself, I can't see where I've placed the bookmark other than to look for spaces in sentences where something from the VB6 screen will eventually be placed.
Is there a way to actually "view" where the bookmarks are placed in a Word document?
Last edited by Hack; Mar 8th, 2006 at 12:26 PM.
-
Mar 8th, 2006, 11:52 AM
#2
Re: Bookmarks In Word
Goto Tools -> Options -> View and check the Show Bookmarks option.
May be you can do this manually or through code.
-
Mar 8th, 2006, 12:02 PM
#3
Re: Bookmarks In Word
I looked all over that darn properties page under Options and couldn't find a thing about Bookmarks until you pointed it out.
I think I need glasses. 
Thanks.
-
Mar 8th, 2006, 12:28 PM
#4
Re: Bookmarks In Word
The initial issue is resolved, but since this question is related, I'm going to use this thread rather than start a new one.
I need to use the same Bookmark in two, sometimes, three different places within my letter (Word Document). But, when I try to copy it, the Copy menu option is disabled. If I try to create again in a new spot, it will move to the new spot, but the original position is no longer a bookmark.
How would I used the same bookmark in two or three different places within the document?
-
Mar 8th, 2006, 12:39 PM
#5
Re: Bookmarks In Word
Nope, you need to make unique names for each bookmark. Maybe something like bmkFullName1, bmkFullName2, bmkFullName3, ...
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 
-
Mar 8th, 2006, 12:51 PM
#6
Re: Bookmarks In Word
 Originally Posted by RobDog888
Nope, you need to make unique names for each bookmark. Maybe something like bmkFullName1, bmkFullName2, bmkFullName3, ...
Yeah...I kinda figured that might be the case, but, hope springs eternal.
Thanks.
-
Mar 8th, 2006, 12:57 PM
#7
Re: [RESOLVED] Bookmarks In Word
This almost sounds like a good candidate for a MailMerge.
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 
-
Mar 9th, 2006, 12:29 PM
#8
Re: [RESOLVED] Bookmarks In Word
 Originally Posted by RobDog888
This almost sounds like a good candidate for a MailMerge. 
That was my initial thought, but they are all individual letters that are completely different in the body message.
These letters are going out to hospitals and for reasons known only to the powers that be at this company, they want the hospital name not only in the letter header, but in one or two other places throughout the letter as well.
-
Mar 9th, 2006, 03:18 PM
#9
Re: [RESOLVED] Bookmarks In Word
Guess theres not too much you can do other then write the entire document from code. Then maybe you can "simplify" the process.
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 
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
|