Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-08-2014, 08:00 AM
ketbdnetbp ketbdnetbp is offline VLookup Syntax Windows 7 32bit VLookup Syntax Office 2010 32bit
Novice
VLookup Syntax
 
Join Date: Apr 2014
Location: Chicago
Posts: 1
ketbdnetbp is on a distinguished road
Default VLookup Syntax

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
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
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
VLookup Syntax Syntax to use OFFSET() in a cell formula? dlowrey Excel 3 07-09-2013 09:15 AM
VLookup Syntax Command line syntax for 2010 asearle Word 1 08-07-2012 05:42 AM
VLookup Syntax Syntax Help Needed for Using AND Statement in NEXIF robpgreer Mail Merge 10 08-11-2011 04:58 PM
VLookup Syntax Syntax help needed blazzercat Excel 3 07-09-2009 02:15 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:06 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft