you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 5 months ago* (last edited 5 months ago) (1 child)

VBA arrays start at 0, unless you explicitly set it to start at 1.

  • source
  • parent
  • hideshow 1 child comment
  • Technically, VBA arrays start wherever you want them to and end wherever you want them to. Thing is, since VBA is usually interfacing with MS Office, you're heavily dependent on what the office APIs do. And unfortunately, they very often start counting with 1. So practically, you're generally starting your counting with 1.

  • source
  • parent