Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Sub SaveNew() Dim sFileName As String, SFilePath As String sFileName = ThisWorkbook.Name SFilePath = "C:\Temp\" Application.ScreenUpdating = False On Error GoTo errcather Sheets(Array("RPV", "RPV (2)")).Copy On Error GoTo 0 ActiveWorkbook.SaveAs Filename:=SFilePath & sFileName ActiveWorkbook.Close Savechanges:=False errcather: MsgBox "One or more the worksheets does not exist in this workbook" Application.ScreenUpdating = True End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.