excell dosyamda kullanmakta olduğum bir makrom var ben dosya açılışında makronun çalışmasını istiyorum açılış makrosunu nasıl ilave ederm acaba .şimdiden teşekkürler herkese.
Sub Boş_Satırları_gizle()
Dim sat As Long
Application.ScreenUpdating = False
For sat = 2 To Cells(65536, "b").End(xlUp).Row
If Cells(sat, "b") = "" And Cells(sat, "c") = "" And Cells(sat, "d") = "" _
And Cells(sat, "e") = "" And Cells(sat, "f") = "" And Cells(sat, "g") = "" _
And Cells(sat, "h") = "" And Cells(sat, "ı") = "" Then
Cells(sat, "b").EntireRow.Hidden = True
End If
Next
Application.ScreenUpdating = True
MsgBox (" satır gizleme işlemi başarı ile tamamlanmıştır.")
End Sub
Sub Boş_Satırları_gizle()
Dim sat As Long
Application.ScreenUpdating = False
For sat = 2 To Cells(65536, "b").End(xlUp).Row
If Cells(sat, "b") = "" And Cells(sat, "c") = "" And Cells(sat, "d") = "" _
And Cells(sat, "e") = "" And Cells(sat, "f") = "" And Cells(sat, "g") = "" _
And Cells(sat, "h") = "" And Cells(sat, "ı") = "" Then
Cells(sat, "b").EntireRow.Hidden = True
End If
Next
Application.ScreenUpdating = True
MsgBox (" satır gizleme işlemi başarı ile tamamlanmıştır.")
End Sub
