Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default VBA Equivalent Match/Index functions

Im trying to convert some spreadsheets to utilize VBA instead of
general Excel code due to complexity issues. We have numerous sheets
containing 1 and 2 dimmensional charts. Sheet one utilizes these
charts with regular validation lists created through
Data-Validation-Then choose a list to display.

How do I get the Item chosen on that list through VBA like I did with
the Match function (these charts are on multiple sheets):

example:
sheet1 contains validation utilizing the 1 dimmensional list named
"DoorType" (which this is defined on sheet3) and the user picks "1/4
BBH" and that is item 4 on the list. How would I use VBA to retrieve
number 4 has been chosen.

Also, with these Validations I have, I have 2 dimmensional charts that
are used based on what a user may choose with different options.

example:
sheet1 contains a couple validations that the user must choose his
option. Then when my previous question is calculated it will look up
on the 2 dimmensional chart "BBDDY" (defined on sheet2) (lets say item
3 was chosen on the first validation and item 6 was chosen on the next
validation)and I want to access item (3,6) on that chart. I tried
Range("Cell") = Range("BBDY").Cells(3,6).Value and get an error. I
belive this is like the Index function.

All the VBA code is going under Sheet1 and all defines and whatnot are
all defined in the same project file.

Thank you
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Index and Match functions I think Jim Butler New Users to Excel 9 November 25th 08 02:34 AM
Row, Index, Match functions Christopher Naveen[_2_] Excel Discussion (Misc queries) 1 September 20th 07 08:42 AM
INDEX & MATCH functions Iriemon Excel Worksheet Functions 2 August 28th 07 03:50 PM
Index and Match Functions Damien Excel Worksheet Functions 4 July 29th 06 10:12 PM
How do I use the Match and Index functions to look up a value tha. Maclanders Excel Worksheet Functions 7 February 10th 05 08:31 PM


All times are GMT +1. The time now is 01:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"