Zum Hauptinhalt gehen

Suche

Suche

Format.saveas Method "expected =" Error - Vba

Kommentare

2 Kommentare

  • Avatar
    Shotaro Ito

    VBA requires "Call" when you have two or more arguments in brackets for a procedure.

     

    Try Call btFormat.SaveAs(strPath, True)

    0
  • Avatar
    Legacy Poster

    Aha! Thank you Shotaro. I had a feeling it was something simple I was overlooking (as is the case with ~75% of problems I encounter). I knew about "Call" using standalone methods, but I wasn't aware it was required for class level procedures as well.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.