Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi All,
I'm trying to open a pbix file through a VBA code file after updating an excel database. I used the following commands in VBA:
MyFile = "filepath"
Cmd = "RunDLL32.EXE shell32.dll,ShellExec_RunDLL "
Shell (Cmd & MyFile)
But when it does that, Power BI starts with a error message that says: "Ribbon view has not been initialized"
Do you have any idea why I'm having this error? Is it the method I'm using to open the file? Do you know another way to do it?
Thanks,
Hi @rafaelschmitz,
Due to I could not reproduce your problem, I suggest you ask the problem in below link:
https://github.com/dubravcik/PBIXRefresher
Regards,
Daniel He
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |