-
Solved: Overflow Error #6
I am trying to add several data fields from SQL and input it into Excel.
I ran this command inside the SQL loop to get the total.
[VBA]
Dim NRC_Total As Integer
Begin Loop
' SQL Code to grab a field
NRC_Total = NRC_Total + Current_SQL_Field
Loop
[/VBA]
About 30 rows in, it popped that OVERFLOW error. Any suggestions?
Thanks!
Kaela
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules