Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default indirect in VBA

Here's the situation. I have a class module for an embeded chart which
generates a text box when I mouse over any point. I would like the text box
to reference some information that is gathered via a VLOOKUP. The problem is
that the table array changes based upon several pull down boxes I have. I
can generate the appropriate range reference on a worksheet, then pull out
the required data using INDIRECT in the VLOOKUP function. How do I do this
in VBA?

Wazooli
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default indirect in VBA

=indirect(B9)

Range(Range("B9").Value)

--
Regards,
Tom Ogilvy


"Wazooli" wrote in message
...
Here's the situation. I have a class module for an embeded chart which
generates a text box when I mouse over any point. I would like the text

box
to reference some information that is gathered via a VLOOKUP. The problem

is
that the table array changes based upon several pull down boxes I have. I
can generate the appropriate range reference on a worksheet, then pull out
the required data using INDIRECT in the VLOOKUP function. How do I do

this
in VBA?

Wazooli



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default indirect in VBA

Tnanks, but I figured out another way, going back and forth between VB and
the worksheet itself. Unfortunately, due to the size of the data set, screen
updating is rather slow, but the chart display flickers too much if I turn
off screen updating. Thanks for you help.

"Tom Ogilvy" wrote:

=indirect(B9)

Range(Range("B9").Value)

--
Regards,
Tom Ogilvy


"Wazooli" wrote in message
...
Here's the situation. I have a class module for an embeded chart which
generates a text box when I mouse over any point. I would like the text

box
to reference some information that is gathered via a VLOOKUP. The problem

is
that the table array changes based upon several pull down boxes I have. I
can generate the appropriate range reference on a worksheet, then pull out
the required data using INDIRECT in the VLOOKUP function. How do I do

this
in VBA?

Wazooli




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
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
INDEX("a"&COLUMNS(INDIRECT(A1):INDIRECT(A2)):A30,4) Dave F[_2_] Excel Discussion (Misc queries) 3 September 20th 07 08:36 PM
help on indirect() Eddy Stan Excel Worksheet Functions 1 November 3rd 06 01:24 PM
INDIRECT.EXT Mike McLellan Excel Worksheet Functions 2 May 4th 06 02:25 PM
Help with INDIRECT() Sophat Excel Discussion (Misc queries) 1 August 4th 05 09:12 PM


All times are GMT +1. The time now is 08:23 AM.

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"