Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Dimesnion a variable on the fly

I have a large Excel database which is spread across multiple folders
(folderName), each folder containg multiple workbooks (wbName), each
workbook containing multiple worksheets (wsName)., each worksheet
containing multiple Rows ( rowNumbers) and Columns ( ColumnNames)

If I specify all the Names then I get a specific cell value.

CellValue = (folderName, wbName, wsName). Values(RowName or RowNumber,
ColumnName).

I currently create an array from the Excel database using this stucture
to manipulate the data, but I assign number values to each of the names
so I can reference them in an array type ie

CellCalue = SpecialArray (1,2,3). Value (4,5)

Every time the program sees a set of Name(s) it has to search for it's
equivalent number to plug in above to derive the cell value.I am trying
to avoid doing this. Is there anyway I can dimension a variable Name
and assign it a number value so that whenever that Name is used I can
use its number value in above function? Or is there another way use
Name references to extract data from an array?

Thank you for any ideas.

K


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
Runtime Error '91' Object variable or With block variable not set Alec Coliver Excel Discussion (Misc queries) 2 October 24th 09 02:29 PM
How do I get spellcheck for my MSN e-mail on Dell Dimesnion 3000 [email protected] Excel Discussion (Misc queries) 0 October 19th 05 06:27 PM
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? Daniel Excel Worksheet Functions 1 July 9th 05 03:05 AM
setting a range variable equal to the value of a string variable Pilgrim Excel Programming 2 July 1st 04 11:32 PM
Cells.Find error Object variable or With block variable not set Peter[_21_] Excel Programming 2 May 8th 04 02:15 PM


All times are GMT +1. The time now is 05:56 PM.

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"