PC Review


Reply
Thread Tools Rate Thread

Accessing data stored in the worksheet (named range) in .xla file

 
 
=?Utf-8?B?bm9pc2ViZXJn?=
Guest
Posts: n/a
 
      26th Sep 2007
Hi,
I'm really not skilled in programming, just what i need for engineering
applications.
I have this spreadsheet with macros and named ranges that i use to achieve
the unit conversion (meters to feet, kilogram to pund, etc,etc).
I want to have the access to the functions in this spreadsheet from several
other workbooks that also performs calculations.
So I thought on conveting my units conversion workbook to an add in, by
saving it as .xla
The problem is that i can not access the named ranges stored in the
worksheets or see them if i do that.
I do not want to loose the flexibility of adding units and conversion
factors in the units conversion worksheet.
The validation of the units entered is also important.
Any Ideas?
 
Reply With Quote
 
 
 
 
JW
Guest
Posts: n/a
 
      26th Sep 2007
You should be able to use the named ranges by using
ThisWorkbook.Range("YourNameHere"). As for not being able to see
them, you can always jump into the VBE and change the AddIn property
of your file to False. That will make the workbook visible in your
Excel app. Then, oncce completed making changes, etc, simply set the
property back to true.
Also, the Analysis ToolPak, when installed, adds a CONVERT function
that allows you to convert from one measurement system to another.
Might be worth checking into.
noiseberg wrote:
> Hi,
> I'm really not skilled in programming, just what i need for engineering
> applications.
> I have this spreadsheet with macros and named ranges that i use to achieve
> the unit conversion (meters to feet, kilogram to pund, etc,etc).
> I want to have the access to the functions in this spreadsheet from several
> other workbooks that also performs calculations.
> So I thought on conveting my units conversion workbook to an add in, by
> saving it as .xla
> The problem is that i can not access the named ranges stored in the
> worksheets or see them if i do that.
> I do not want to loose the flexibility of adding units and conversion
> factors in the units conversion worksheet.
> The validation of the units entered is also important.
> Any Ideas?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
data validation using named range from another file pat67 Microsoft Excel Worksheet Functions 3 13th Apr 2010 06:56 PM
Accessing a macro created named range John Microsoft Excel Programming 7 5th Feb 2009 04:12 PM
Accessing a sheet-level named range through ADO Ahasverus Microsoft Excel Programming 2 19th Oct 2007 12:15 AM
accessing named range greg Microsoft Excel Programming 13 12th Jul 2007 01:49 AM
Using a data validation list to look up a defined named range in another worksheet Laura Hunt Microsoft Excel Charting 0 24th Nov 2005 02:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:17 PM.