Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
nihhalmca
Specialist II
Specialist II

Download/Upload Excel files from/to Sharepoint by Macro

Hi All,

I need to write Macro for

1. Have to Download files from Sharepoint (url: http://sharepoint.............)

2. Then have to Upload files into Sharepoint (url: http://sharepoint..........)

Could you please assist with VB script.

Thanks,

Nihhal.

1 Solution

Accepted Solutions
nihhalmca
Specialist II
Specialist II
Author

Finally i resolved it. I could not add macro here.

you can google it for download and upload macro. only change here that use unc path in upload script.

Thanks

Nihhal.

View solution in original post

12 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi Nihhal,

You can make a shared drive of your sharepoint in your machine or server, so that you can read directly from that folder instead of downloading, also you can copy your files to that folders easily.  Check with your sharepoint team.

Regards,

jagan.

nihhalmca
Specialist II
Specialist II
Author

Hi Jagan - Thanks for your response. we have some issues to create share drive.

Could you share VB script for downloading and uploading if possible please.

jagan
Partner - Champion III
Partner - Champion III

nihhalmca
Specialist II
Specialist II
Author

Hi Jagan - not working.

I have found for downloading files, can you help with uploading files please.

jagan
Partner - Champion III
Partner - Champion III

No idea Nihhal, Google it and find it.

Regards,

Jagan.

nihhalmca
Specialist II
Specialist II
Author

Hi Jagan, do you have any idea about below error its related to macro.

Set objPC = WScript.CreateObject( "WScript.Network" )

This code is not executing in qlikview application. (when i click "check" buttion this is highlighting).

Thanks,

Nihhal.

jagan
Partner - Champion III
Partner - Champion III

I am not sure.  Check this link may be you will get some info.

Regards,

Jagan.

nihhalmca
Specialist II
Specialist II
Author

Hi Jagan - I could not find link in your post.