Hi,
I have been trying to get this done for literally 12hrs. I am trying to learn how to use Arrays. I figured I would start with something small like a range & use the values in that range to delete some workSheets. lol I crashed myExcelApp.
GoodTimes
Onto the matter @ hand would someone please be so kind as to help me out with either/or, but both would be great.
#1 Here I have some code that creates an Array from a range.
Array:
I would like to use the above Array to compare against SheetName in the CaseStatement below:
#2 I would also like to know how I could wrap all of a Workbooks Worksheets in an Array, so that I could use the above CaseStatment to delete matching sheets of another workbook.
I had some broilerPlate I was playing with a few hours ago before I crashedExcel; I cant find it but I did find something else I think I might be able to do that with.
As always any help is greatly appreciated. TIA
Bookmarks