قم بتعديل بسيط على الكود
Sub PrintAll()
Dim LastR As Integer
Sheets("ÈíÇäÇÊ ÇÓÇÓíÉ").Select
LastR = Sheets("ÈíÇäÇÊ ÇÓÇÓíÉ").Cells(Rows.Count, "B").End(xlUp).Row
Range("B6:B" & LastR).Select
x = Application.WorksheetFunction.CountA(Selection)
Sheets("ãÝÑÏÇÊ").Select
Range("A6").Select
Selection.ClearContents
For I = 1 To x
Range("A6") = I
ActiveWindow.SelectedSheets.PrintPreview
Next I
End Sub