PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
Sub PrintSheet() Dim UserResponse UserResponse = MsgBox(Prompt:="Print Worksheet (Yes) for Print Preview", Buttons:=vbYesNoCancel, Title:="Print Worksheet") Select Case UserResponse Case vbCancel Exit Sub Case vbYes ' ActiveSheet.PrintOut Preview:=True PrintToFit Case Else PrintToFit ActiveSheet.PrintOut Copies:=1 End Select End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Excel IF statement||4||24|
|Excel hyperlinks - add custom and dynamic text to email body||2||33|
|macro to compare 2 Excel columns.||14||30|
|I need macro to insert an character||8||22|