![]() |
#1
|
|||
|
|||
![]() The following code is part of a loop but, it is not working. I believe its a syntax problem, any suggestions... If Worksheets(iDSK2).Cells(intRow, 5).Text = "Associate" Then Worksheets(iDSK2).Cells(intRow, 24).Select ActiveCell.Formula = "=VLOOKUP(CONCATENATE(A" & intRow & ", "" "", B" & intRow & "),Sales!$A$6:$J200,4,FALSE)" Else Worksheets(iDSK2).Cells(intRow, 24).Select ActiveCell.Value = "0.00" End If Dim valCheck As String valCheck = Worksheets(iDSK2).Cells(intRow, 24).Text If valCheck = "#N/A" Then Worksheets(iDSK2).Cells(intRow, 24).Value = 0 End If |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using multiple formulas in one (IF, AND and SUM) gives syntax error | markdeniet | Word | 1 | 02-05-2014 05:17 AM |
![]() |
dlowrey | Excel | 3 | 07-09-2013 09:15 AM |
![]() |
asearle | Word | 1 | 08-07-2012 05:42 AM |
![]() |
robpgreer | Mail Merge | 10 | 08-11-2011 04:58 PM |
![]() |
blazzercat | Excel | 3 | 07-09-2009 02:15 PM |