I found this post on this site: https://www.excelforum.com/excel-pro...nt-folder.html
But doesn't help, I'm working on a template that will eventually reside within Teams and seems all files are saves to a sharepoint folder.
Yesterday I setup and got working a Power Automation flow that monitors my inbox for a email from our requests server, when that email arrives, the flow gets triggered and the attachment in that email is saved to a specific folder within our teams (sharepoint path) this works great and was pretty quick and simple to setup.
Now comes my template, my current macro works if i run it against a local folder, it picks up the file, copies the data into the template and does its work..
I'm trying to merely change where that file is "read"/"opened" from.
Even if this template is not saved in TEAMS, the macro still needs to work off the file in teams as its source.
For testing purposes, I'm running the following macro:
And there is no file to upload as I'm not getting past getting to a file to process.. so the above macro is in a blank file. If you place a breakpoint on the While Filename <> "" line, the error will appear on the line above it.Please Login or Register to view this content.
Bookmarks