View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Amber_D_Laws[_75_] Amber_D_Laws[_75_] is offline
external usenet poster
 
Posts: 1
Default INDEX/MATCH formula in VBA to populate text boxes


Great! However, I need to how to define the varible "res"


Tom Ogilvy Wrote:
res = Application.INDEX(Range("Catalog Listings!$B$3:$D$223"), _
Application.MATCH(Combobox1.Value, Range( _
"Catalog Listings!$B$3:$B$223"),0),1)

Textbox1.Value = res

--
Regards,
Tom Ogilvy



"Amber_D_Laws"

wrote in message
news:Amber_D_Laws.23c4wm_1140115201.9149@excelforu m-nospam.com...

In the original version of my quote module I was using the

INDEX/MATCH
formula below in combination with a drop down box to populate

several
other cells. I am now working in a multi-page user form, and I would

to
do a similar action with text boxes.

The formula is as follows:
=INDEX('Catalog Listings'!$B$3:$D$223,MATCH(C30,'Catalog
Listings'!$B$3:$B$223,0),1)

So, the question is this. How do I INDEX/MATCH from a comboBox in a
userform to several different text boxes (3 to be specific)?

As always any advice is appreciated.
Regards,
Amber


--
Amber_D_Laws

------------------------------------------------------------------------
Amber_D_Laws's Profile:

http://www.excelforum.com/member.php...o&userid=30012
View this thread:

http://www.excelforum.com/showthread...hreadid=513312



--
Amber_D_Laws
------------------------------------------------------------------------
Amber_D_Laws's Profile: http://www.excelforum.com/member.php...o&userid=30012
View this thread: http://www.excelforum.com/showthread...hreadid=513312