#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default INDEX

I am using Excel 97. I am wanting a userform to look at a
table on a worksheet and give the mileage result between
two locations.

The code I have used (which doesn't work) is:

Me.txtNONTAXABLE1 = Application.Index(Worksheets
("Mileage Chart").Range("b2:bd56"), Me.comboFrom1,
Me.comboTo1)

I've also tried:

Me.txtNONTAXABLE1 = Application.WorksheetFunction.Index
(Worksheets("Mileage Chart").Range("b2:bd56"),
Me.comboFrom1, Me.comboTo1)

So that the value of the textbox on the userform changes
if the combo boxes on the userform are changed.

Can anyone put me on the right track, please?

Thanks

Mark


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 CJ Excel Discussion (Misc queries) 2 February 7th 10 04:23 AM
Index and #NA ronnomad Excel Discussion (Misc queries) 3 August 27th 09 05:12 PM
Should I use INDEX? MrRJ Excel Discussion (Misc queries) 2 April 21st 09 04:29 PM
Chart axes color index vs font color index [email protected] Charts and Charting in Excel 4 December 7th 06 04:05 PM
How do I pull the col. index value as well as row index value Vikram Dhemare Excel Discussion (Misc queries) 1 March 29th 06 07:48 AM


All times are GMT +1. The time now is 06:34 AM.

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

About Us

"It's about Microsoft Excel"