the following code is returned as syntax error by vba7 in excel. could the _ underscores…
- User
the following code is returned as syntax error by vba7 in excel. could the _ underscores cause compiler problems. find the issue:
Private Function CopyFilteredAuthRows( _ ws As Worksheet, _ ByVal cDate As Long, _ ByVal cHost As Long, _ ByVal cAuth As Long, _ ByVal origLR As Long, _ ByVal ipPattern As String) As Long
Assistant
The underscores themselves shouldn't cause compiler problems - they're standard VBA line continuation characters. However, there are a few potential issues that could cause syntax errors:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.