We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,737 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

macro get value

hi,

I have a sheet name 'rate' and another sheet name "master".
rate sheet has data as below

EmpCol1 rateCol1
a    1
b    2
c    3 etc...

and master has data as

empCol2 rateCol2
c
a
b

What i want to do is to get the rateCol1 from rate sheet and display infrom of the correct empCol2 .

how do i go this? do i have to write an lookup?
thanks

4
Contributors
8
Replies
1 Week
Discussion Span
3 Months Ago
Last Updated
10
Views
anisha.silva
Posting Whiz in Training
225 posts since May 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Yes, a vlookup will be perfect for this, but this post doesn't belong in the VB.NET forum.

adam_k
Veteran Poster
1,057 posts since Jun 2011
Reputation Points: 274
Solved Threads: 205
Skill Endorsements: 11

thanks, where should i post questions relating to excel macro
how do i create array's in macro

anisha.silva
Posting Whiz in Training
225 posts since May 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

VBA is a subset of VB6, so I think that would be the best place.
http://www.daniweb.com/software-development/visual-basic-4-5-6/4

TnTinMN
Practically a Master Poster
640 posts since Jun 2012
Reputation Points: 418
Solved Threads: 148
Skill Endorsements: 13

Read here: http://support.microsoft.com/kb/213798 , but I find it way easier to use the worksheet itself (or a new one if you don't want to mess with the existing).

In your case you just need to vlookup, which isn't a macro.

adam_k
Veteran Poster
1,057 posts since Jun 2011
Reputation Points: 274
Solved Threads: 205
Skill Endorsements: 11

thanks

anisha.silva
Posting Whiz in Training
225 posts since May 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Please mark as solved anisha, thanx. :)

AndreRet
Industrious Poster
4,706 posts since Jan 2008
Reputation Points: 391
Solved Threads: 481
Skill Endorsements: 20

hi AndreRet i will still didn't solve my question
one i get it, will mark this as solved

thanks

anisha.silva
Posting Whiz in Training
225 posts since May 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

http://letmebingthatforyou.com/?q=excel%20lookup%20table

Hint: Look at the Microsoft support article.

TnTinMN
Practically a Master Poster
640 posts since Jun 2012
Reputation Points: 418
Solved Threads: 148
Skill Endorsements: 13

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0771 seconds using 2.66MB