export of workbooks to network drive

RompStar

Well-known Member
Joined
Mar 25, 2005
Messages
1,200
my question is this, I have VBA code that does a while bunch of formatting, glue'ing of other sheets and adding templates and then it saves it to my local folder on my c:\ drive

The reason why I do this, is because the network is slow and there are multiple things that are happening, hacks and stuff... many steps, to be able to do the job.

Anyways, is there a way, some functions or something in Excel VBA where I could move the workbooks.xls to a network drive ? move them, like if I were to drag a file, without opening each one ? The process of Opening the workbooks and then Saving is too slow, as I will have hundreds of them and not a few.

So if my workbook is called: c:\tempfolder\Store_1_blablablabla.xls

I want to find out the store number, in this case 1, I have a nice CASE statement that has the different network location hard coded for each different store and then it would move it to the right folder from the temp folder on the C:\ drive, thanks!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

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