Question: does vba work in excel online?
Answer: Excel online does not support VBA. Macros and custom functions will not run, and there is no way to make them run.