Celly
Board Regular
- Joined
- Jan 29, 2015
- Messages
- 84
- Office Version
- 2016
- Platform
- Windows
This is annoying, I have a local copy of a spreadsheet which has a VBA script to import data from an xlsm on a OneDrive directory. Even though OneDrive is already running and logged in, the Workbooks.Open line will result in a Microsoft sign-in dialog popping up (Type the email of the account you would like to use to open...). If I simply close the dialog without logging in, the VBA script opens and imports the data successfully. I tried setting the ReadOnly parameter to true, however this doesn't fix it. Any ideas?
EDIT: This also seems to be new behavior in Excel 2016 that didn't occur with Excel 2010
EDIT: This also seems to be new behavior in Excel 2016 that didn't occur with Excel 2010
Last edited: