ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Change username for file transfer (https://www.excelbanter.com/excel-programming/392405-change-username-file-transfer.html)

KC

Change username for file transfer
 
I have a macro to export a chart as a GIF on the local "C" drive. I am then
using

Set Picture = fs.getfile("c:\chart.gif")
Picture.Copy strFileName
NOTE: strFileName is the destination URL and filename

to copy the GIF to a sharePoint server and everything works great for a user
on active directory. The problem is that one user is not on active
directory. How do I pass to the server a username and password that is
different then the one logged in by the user?
Thanks,
--
KC


All times are GMT +1. The time now is 04:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com