• @KairuByte@lemmy.dbzer0.com
    link
    fedilink
    12 months ago

    It’s to do with the ability to work with data across all open workbooks:

    You can reference [Workbook.xlsx]Sheet1!B2 but if you have two excel workbooks open, both named Workbook.xlsx which one should be used?

    • @Buddahriffic@lemmy.world
      cake
      link
      fedilink
      5
      edit-2
      2 months ago

      If you want to reference other files, you should use a less ambiguous way to refer to them. Like a relative path or full absolute path. The fact that that weakness is because of a half-baked feature like that actually makes me lose even more respect.

      Edit: thanks for the info though, it does add some missing context.

    • Morphit
      link
      fedilink
      32 months ago

      Whichever one has the smallest relative path to the workbook using it? How does it find the workbook if it isn’t open already?

    • @psud@lemmy.world
      link
      fedilink
      32 months ago

      So throw an error at runtime on that macro, most workbooks aren’t the target of a macro