If anyone else comes across this, set the ValidateNames property to False before showing the OpenFileDialog dialog box. This should get you around the "file is in use" Warning dialog.
I was using a different programming tool - National Instruments LabVIEW - and received the same message. The forum members thre led me to this resolution.
There must be something happening with how Windows handles Office files saved to OneDrive and how it handles them when someone requests to open them. We could not find any documentation on that.
