I am trying to create a new worksheet in a separate workbook (Web Transfer Worksheet.xlt) for each instance of a unique cell D value and cell C value combination in the original workbook (strDate + "*_OmniTransferErrorReport.csv"). I imagine I will need to add an "If sheet already exists, skip to next" type of statement, but I am stuck on even getting it to work once. I am getting a type mismatch error on strNewSheetName = Cells(i, "D").Value + " " + Cells(i, "C").Value
Any thoughts?
Please Login or Register to view this content.
Bookmarks