• shalafi@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    16 days ago

    Scripting is great in Excel, but I’ve never encountered or heard of a use for it in Word.

    • Lyrl@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      13 days ago

      I used to work at a place where one of their test machines generated a cert in Microsoft Word with test results. They were having their lab technicians manually type in something like eight fields of information to flesh put the cert. I managed to hack together a Word VBA plus Python script to interface with the OpenOffice database I had set up so the techs only had to type in one field, and the script filled in the rest.

      It was kind of a monstrosity under the hood, but it worked pretty slickly, and given the available tools I was glad the option existed.