Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Nov 2010
    Location
    London
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi

    I’ve got a bit of code below that works fine in Word 2003 but does nothing in Word 2010.

    In Word 2010 autotext entries are BuidingBlockEntries but there does not appear to be a an Organizer object for them and it’s still wdOrganizerObjectAutoText.

    In Word 2010 the code does not cause an error it just does nothing.

    Does anyone if there is an equivalent in Word 2010?

    Application.OrganizerRename Source:=strTemplatePath, Name:="Test1", _
    NewName:="Test2", Object:=wdOrganizerObjectAutoText

    Thanks

    Russell

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,459
    Thanks
    3
    Thanked 128 Times in 121 Posts
    Try this instead

    ActiveDocument.AttachedTemplate.BuildingBlockEntri es("Test1").Name = "Test2"
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  4. #3
    New Lounger
    Join Date
    Nov 2010
    Location
    London
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Andrew

    That's great, much simpler than Word 2003.

    Thanks

    Russell

Posting Permissions

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