Results 1 to 4 of 4

Thread: Programmer new to Word VBA

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    2

    Programmer new to Word VBA

    I am an experienced programmer but new to VB. I am starting a new project and I'd appreciate pointers to get me started.

    I want to develop a 'content analysis'add-in for Microsoft Word. Similar in many ways to the spellchecker, it will scan all the words in the current document and highlight the ones that match a pre-defined list. When the user clicks on (or hovers over or whatever) the highlighted word, the user will be presented with a blurb about the proper use of the highlighted word and/or a clickable list of suggested alternatives for that word.

    From the research I have aleady done on how to get started on this project I have the following questions:

    (1) Could this be done using just the VBA tools that come with Microsoft Office?

    (2) If a more robust programming tool is needed, must it be Microsoft Visual Studio, or are there better/cheaper alternatives?

    (3) Would I need to develop a separate version of the program for each version of Word (e.g., Word 2003/XP/2000/98) that it might be run on?

    Thanks in advance for any pointers to get me started, links to tutorials on the web, keywords that I can use to search this site's forums or google generally, or, especially, working code samples.

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: Programmer new to Word VBA

    Welcome to the Forum Hafabee

    Approx how many words would be contained in the pre-defined list?

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Programmer new to Word VBA

    If you use Late Binding you wont need to write separate versions for each version of Word.

    You may be able to use the SmartTag SDK to create this.
    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  4. #4

    Thread Starter
    New Member
    Join Date
    Mar 2006
    Posts
    2

    Re: Programmer new to Word VBA

    Bruce: Eventually about 5000 words total

    RobDog: Thanks, I'll take a look at those

    -Hafabee

Posting Permissions

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



Click Here to Expand Forum to Full Width