Excel to sharepoint wheres the folder ?

stevebrodie

New Member
Joined
Jan 11, 2011
Messages
17
Hi All,

I have searched the site but cannot find an answer so;

I am trying to save a file to sharepoint, which i have managed to do using the code below, however my problem is that the files seem to be stored in 'seperate web folder?s' that is when you save the file manually sharepoint asks for the month and date the file was created - i have used the explorer view in sharepoint and all the files are in one giant repository. but using the method below i do not seem to be able to add this 'path' to the file so it just gets saved in whatever folder was their before. Clear as mud ?

Code:
[FONT=Arial]Sub savesheet()<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>[/FONT]
[FONT=Arial]<o:p></o:p>[/FONT]
[FONT=Arial] ActiveWorkbook.SaveAs Filename:= _<o:p></o:p>[/FONT]
[FONT=Arial]     "[URL]http://amp.dmzad01.site/sites/AMP002/ss030/t3 Reports/Full_t3_Report_[/URL]" & Format(Date, "ddmmm") & ".xls" _<o:p></o:p>[/FONT]
[FONT=Arial]     , FileFormat:=xlNormal, Password:="", WriteResPassword:="", _<o:p></o:p>[/FONT]
[FONT=Arial]     ReadOnlyRecommended:=False, CreateBackup:=False<o:p></o:p>[/FONT]
[FONT=Arial]End Sub<o:p></o:p>[/FONT]

Any Help would be great
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,224,525
Messages
6,179,317
Members
452,905
Latest member
deadwings

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top