Hi, I am using the below line of code to build a filename based on the values in various cells. I would like to sum the value of cells B10 and B11, however there is a formula in B11 and when there is no value I am getting an error. I know that using SUM in a regular formula negates the #VALUE error when adding cells that have text. So my question is there a way to use the SUM function to add B10 & B11 in this line to avoid the error? Thanks for the help.
VBA Code:
fileSaveName = "FRIEDLAND QUOTE " & [B7] & " " & "JOB " & [B8] & " " & [A30] & " " & [AB26] & " " & [COLOR=rgb(184, 49, 47)][B][B10+B11][/B][/COLOR] & " PCS" & " " & Format(Date, "mmddyy")