Could someone please identify where the error is?
Sub calc_external_sales()
Sheets("Monetary All").[C5].Formula = "=SUMMEWENNS(Rawdata!K2:K3446;Rawdata!I2:I3446;""bezahlt"")"
End Sub
I guess it has to do with the sheets and the range.
Could someone please identify where the error is?
Sub calc_external_sales()
Sheets("Monetary All").[C5].Formula = "=SUMMEWENNS(Rawdata!K2:K3446;Rawdata!I2:I3446;""bezahlt"")"
End Sub
I guess it has to do with the sheets and the range.
perhaps
or
The problem is that when you are using the quotes around your search criteria ("bezahlt"), it is effectively treating it as two strings that are adjacent to each other with no concatenation. Use this instead:
The chr(34) is the symbol for quotation marks.