VBA does not accept my method calling and gives Compile error: Syntax error [duplicate]

Remove the parentheses.

SavePendleValues sheetrow, sheetrow

Otherwise you are trying to pass as a first argument something in parentheses that has two variables in it, which doesn’t make sense for VBA parser.

Leave a Comment