Hi,
I have this code for file path for the Invoice PDF.
Private Sub CommandButton1_Click()
Dim NxtRw As Long, CurrentPath As String, wFile As String
On Error GoTo EnEvents
If Range("J3").Value = "" Then
NxtRw = 3
Else
NxtRw = Range("J2").End(xlDown).Offset(1).Row
End If...
Hello,
I have a cell value that I would like as the PDF file name plus today's date included in the name.
For instance:
HAN6597 8/12/2019
Is this possible to do? Also what if the same customer code (in cell H2) and same date are sent to PDF more than once? Does the PDF get replaced or...
Could print to PDF be added to this button?
My print area is B2:H53
Private Sub CommandButton1_Click()
Dim NxtRw As Long
Application.EnableEvents = False
If Range("J3").Value = "" Then
NxtRw = 3
Else
NxtRw = Range("J2").End(xlDown).Offset(1).Row
End If
Range("J"...
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.