Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Separating code from data

Terry,


I tried it and Excel gave me the finger and told
me that I couldn't use that file.


Specifically which finger did it give you, and specifically what
did the error message say? You description is less than clear.

You will want to change the Project Name of your personal.xls file
before referencing it from other files. With the personal.xls file
open in the VBA Editor, go to the Tools menu, choose "VBA Project
Properties" and change the name from "VBA Project" to something
unique, such as "Personal".


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Terry von Gease" wrote in message
...
"Myrna Larson" wrote in message
...
Do you know about Tools/References in the VB Editor? You can

set a
reference to Personal.xls or
the workbook that contains your code. Maybe that will solve

your problems.

That would be too simple. I tried it and Excel gave me the

finger and told
me that I couldn't use that file. Or any other .xls file of any

name living
in any directory.

I expected no less. Thanks for trying.


On Fri, 25 Jul 2003 14:35:34 -0700, "Terry von Gease"

wrote:

I need to know it there is any realistic way, the operative

word here is
realistic, to have vast tracts of VB code exist and be usable

independent
of
a set of worksheets.

The application is only 4 or so sheets but the volume of code

supporting
the
application is quite large. Unfortunately in the MS world,

elegance is
expensive. The problem being that the entire .xls file is

unacceptably
large
and not only saves at glacial speeds, it seems to have grown

to the point
where Excel's reach exceeds its grasp and is somewhat

delicate. Saving
the
file while doing development is unpredictable and often

entertaining.

Using a personal.xls file will keep the code separate and get

it to load
but
actually using it is painful. The 'Application.Run' method is

unacceptable.
Not only is is exceedingly clumsy, you cannot use named

parameters.

Is there any way to tell Excel where to look to resolve

procedure
references? Or am I simply SOL?


--
Terry

"I said I never had much use for one,
I never said I didn't know how to use one."
M. Quigley




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
Separating data into new sheet apache007 Excel Discussion (Misc queries) 1 March 3rd 10 10:53 PM
Separating data GeorgeHutch Excel Worksheet Functions 6 December 29th 09 09:06 PM
separating out data in columns kas Excel Discussion (Misc queries) 2 March 19th 09 03:59 PM
coma not separating data moinik123 Excel Discussion (Misc queries) 3 March 28th 06 06:21 AM
separating data Leslie_AGA Excel Discussion (Misc queries) 1 November 30th 04 09:26 PM


All times are GMT +1. The time now is 05:07 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"