Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Save workbook to a server
I currently have a macro and it saves the file that the user is
working on locally on their hard drive. I would like to make it so that it is saved to our server. In the code I specify the location for where I would like to save it: ChDir "O:\DATA\......" However when the macro runs it always saves the file to the local My Documents folder. Is there anyway around this or is it not possible to save a file to a server like this through a macro? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Save workbook to a server
I wouldn't bother changing the directory, just point at the drive/folder in your
save: thisworkbook.saveas filename:="o:\data\" & somefilenamehere, ... wrote: I currently have a macro and it saves the file that the user is working on locally on their hard drive. I would like to make it so that it is saved to our server. In the code I specify the location for where I would like to save it: ChDir "O:\DATA\......" However when the macro runs it always saves the file to the local My Documents folder. Is there anyway around this or is it not possible to save a file to a server like this through a macro? -- Dave Peterson |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Save workbook to a server
On Apr 16, 9:41 am, Dave Peterson wrote:
I wouldn't bother changing the directory, just point at the drive/folder in your save: thisworkbook.saveas filename:="o:\data\" & somefilenamehere, ... wrote: I currently have a macro and it saves the file that the user is working on locally on their hard drive. I would like to make it so that it is saved to our server. In the code I specify the location for where I would like to save it: ChDir "O:\DATA\......" However when the macro runs it always saves the file to the local My Documents folder. Is there anyway around this or is it not possible to save a file to a server like this through a macro? -- Dave Peterson Thank you for your help it worked just as I need it to. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
save .xls files to a server | Excel Discussion (Misc queries) | |||
Save in Excel several users server | Excel Discussion (Misc queries) | |||
Script to save Excel file to the server. | Excel Discussion (Misc queries) | |||
Excel 2003 Error Cannot Locate the Internet Server or Proxy Server | Excel Discussion (Misc queries) | |||
Saving Excel workbook in SQL server using c# | Excel Discussion (Misc queries) |