|
-
May 18th, 2006, 01:09 AM
#1
Thread Starter
Junior Member
Unit Identifier
i have word documents with spare parts information and i am stuck with a particular problem
Where ever a particular unit ocurs its displayed as
UnitInfo 1.7
or
Unit 1.7
I need to identify and tag it like this
UnitInfo (Unit Head-1-Part-0007)
or
Unit(Unit Head-1-Part-0007)
How can i get this done. There many documents such as there and it would be great
if i can get this macro done.
Any help with this would be appreciated.
-
May 18th, 2006, 01:35 AM
#2
Re: Unit Identifier
You mean like doing a Find and Replace from the Edit menu?
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 
-
May 18th, 2006, 01:50 AM
#3
Thread Starter
Junior Member
Re: Unit Identifier
Not exactly
Here's an example : I have the following occurances in my document
UnitInfo 7.8
UnitInfo 7.9
Unit 7.2 etc
i need the macro to to identify the values after the keywords and then insert an extra tag near the keywords so that it looks like this
UnitInfo 7.8 (Unit Head-7-Part-8)
UnitInfo 7.9 (Unit Head-7-Part-9)
Unit 7.2 (Unit Head-7-Part-2)
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
|