Share via

Issue to access one shared file

Scott Huang 3,511 Reputation points
2022-01-21T07:14:59.02+00:00

Hi,
How to access one shared file (within Onedrive)? I have the codes below to acsess one shared file (within Onedrive) but I've got "Bad file name or number" error. How to fix it?

File0 = Replace("https://1drv.ms/t/s!Ai8CrEskdewXwliW2rUVVv_UAsvG?e=Endztn", "/", "\")

Open File0 For Output As #1
Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Access | Development
Developer technologies | Visual Basic for Applications
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.