Teams favors opening files in Excel on-line, which does not understand VBA. That may be part of your problem.
Regards, Jan Karel Pieterse Excel MVP jkp-ads.com
Forum Rules