티스토리 뷰
반응형
Sub 출력_업체시트()
rt = MsgBox("전체 업소의 데이타를 출력 하시겠습니까?", vbYesNo)
If rt = vbNo Then
Application.Cursor = xlDefault
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
Exit Sub
End If
b = Application.DisplayAlerts
Application.DisplayAlerts = False
Dim s As Variant
For Each s In Sheets
If Left(s.Name, 1) = "%" Then
s.PrintPreview
End If
Next s
Application.DisplayAlerts = b
End Sub
.
반응형
'엑셀' 카테고리의 다른 글
Line_Grid_Draw (0) | 2018.11.25 |
---|---|
엑셀 vba func_Print_Seting 프린터 설정 (0) | 2018.11.24 |
엑셀 trFunc_정렬 (0) | 2018.11.24 |
담당별분리 (0) | 2018.11.23 |
Area_Init (0) | 2018.11.23 |
댓글