combobox1 da yazan sayfa ismine göre ön izleme yaptırmak istiyorum hatam nerde bakabilirmisiniz
Private Sub Label55_Click()
On Error Resume Next
Sheets("Me.ComboBox1.Text").Select
For i = 1 To [c65536].End(3).Row
If Cells(i, "c") <> "" Then
SnDlSt = Cells(i, "c").Row
End If
Next i
UserForm1.Hide
Application.Visible = True
Sheets("me.ComboBox1.Text").Select.Range("a1:c" & SnDlSt).PrintPreview
Application.Visible = False
UserForm1.Show
End Sub
Private Sub Label55_Click()
On Error Resume Next
Sheets("Me.ComboBox1.Text").Select
For i = 1 To [c65536].End(3).Row
If Cells(i, "c") <> "" Then
SnDlSt = Cells(i, "c").Row
End If
Next i
UserForm1.Hide
Application.Visible = True
Sheets("me.ComboBox1.Text").Select.Range("a1:c" & SnDlSt).PrintPreview
Application.Visible = False
UserForm1.Show
End Sub