View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
KC KC is offline
external usenet poster
 
Posts: 107
Default 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