ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Archiving .XLS Sheets (https://www.excelbanter.com/excel-discussion-misc-queries/59570-re-archiving-xls-sheets.html)

Dave Peterson

Archiving .XLS Sheets
 
It could be anything.

You use WB.Saveas, fldnm and f.name.

You may want to post what's in those variables.





mike wrote:

Hi,

I wrote a VBA code that auto archives my spreadsheets once Im done
extracting the information - but for some reason it is failing. I pasted the
code below. Anyone know why?

Code:

WB.SaveAs fldnm & "\Archive\" & f.Name


--

Dave Peterson


All times are GMT +1. The time now is 02:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com