Hi I am wondering if you experts could assist me please. I am using Ron Debruins PDF to email code. It works wonders however I am wondering if there is a way that the range of cells printed to PDF can be changed when there is a value in a particular cell.
For example:
Code
FileName = RDB_Create_PDF(Source:=Range("M14:T46"), _ FixedFilePathName:="", _
OverwriteIfFileExist:=True, _
OpenPDFAfterPublish:=False)
However if there is a value in cell Cell R73, if would like the pdf to print the range M14:T76
Any assistance would be greatly appreciated.
With thanks
Christine