I want to copy out this sheet in my workbook and save as a CSV using the value in cell C29 of sheet1 of the original sheet I copied it out off: Del Mar_Replines_20200831_Macro Build.xlsm. When I run this, I get a "subscript out of Range" error.
If I just paste the value in cell C29 as the file name the macro works. Cell C29 is an equation (unsure if that makes a difference).
Sheets("Balance Sheet").Copy
ActiveWorkbook.SaveAs Filename:=Workbooks("Del Mar_Replines_20200831_Macro Build").Worksheets("Sheet1").Range("C29").Value
ActiveWindow.Close