Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I always seem to find what I need in previous threads without starting my own. I have started a couple but that's it..."

Geography

Where in the world do Tek-Tips members come from?
Ksquared (TechnicalUser)
31 Jul 12 0:57
Hello All.
Having a go at some VBA Excel 2010, and hit a roadblock.

If asmblyCode = Application.WorksheetFunction.HLookup(asmblyCode,Sheet3!B$2:!S$3', 1, False) Then
So, im trying to do a lookup for the variable asmblyCode on sheet3 B2-S3 on the first row.
I get a list separator or ) error.

Im not sure what is causing it......
Appreciate your help.
SkipVought (Programmer)
31 Jul 12 6:43
hi,

CODE

If asmblyCode = Application.WorksheetFunction.HLookup(asmblyCode,Sheets("Sheet3").Range(B$2:S$3"), 1, False) Then 

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

judgeh59 (IS/IT--Management)
31 Jul 12 9:29
Hi Skip

should there be a doublequote before the B$2 to match the one after the $3?

Sheets("Sheet3").Range(B$2:S$3")
^

Ernest

Be Alert, America needs more lerts

SkipVought (Programmer)
31 Jul 12 9:38

CODE

Sheets("Sheet3").Range("B$2:S$3") 

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close