I have been trying to paste the Excel Sheet ranges as Picture to the New Workbook as worksheets (Each Range as different worksheet)
The code is take the Status of Col"E" If it is = Include then its corresponding sheets ranges will be pasted as picture to New Workbook.
If Col"E" <> Include then code should skip this. There are 3 Includes in below picture so the code will paste picture as ranges of that Sheets which are = Include in there separate sheets of new workbook.
any help will be appreciated.
Sub SelectSheets_Ranges() Dim sh As Worksheet, lastR As Long, rng As Range, arr, arrSplit, i As Long, k As Long Set sh = ActiveSheet lastR = sh.Range("A" & sh.rows.count).End(xlUp).row ReDim arr(lastR - 1) For i = 2 To lastR If sh.Range("E" & i).value = "Include" Then arr(k) = sh.Range("C" & i).value & "|" & sh.Range("D" & i).value: k = k + 1 End If Next i ReDim Preserve arr(k - 1) For i = 0 To UBound(arr) arrSplit = Split(arr(i), "|") Set rng = Worksheets(arrSplit(0)).Range(arrSplit(1)) NewBook = Workbooks.Add Next End Sub 


