LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Dave Peterson
 
Posts: n/a
Default

And just to add to Dana's response...

You may want to keep the code in your personal.xls workbook. Then you'll be
able to use this function in any workbook you open (follow Dana's syntax,
though).

But if you share the workbook with this formula in it, it could get messy. (I'd
convert the formulas to values before I share.)

Dana DeLouis wrote:

... So I deleted it from personal.xls and pasted it
into my real workbook and it seems to be working.


Hi. Glad it's working :) Just some added info. Since you placed that
function into another workbook, and that workbook was not an Add-Inn, then
you need to point to the workbook that has that function. For example, I
believe the following would have worked in your case.

=PERSONAL.XLS!LastGroupOfNumbers(A1)

A good technique is to have Excel enter the function for you. This helps as
a check also when writing new functions.
On the worksheet, chick the "Insert Function button next to the formula bar
(Fx)
Select the "User Defined" category.
Now, look for your function. This will enter the complete reference.
If you don't find your function, then it may be a clue that the function was
placed incorrectly on a worksheet module, so something similar.
HTH. :)
--
Dana DeLouis
Win XP & Office 2003

"Mr. Me" wrote in message
om...
On Tue, 02 Aug 2005 08:17:46 -0500 in article <42EF727A.46BC3CA2
@verizonXSPAM.net, spoke thusly...
I just copied Dana's code and pasted into a General module (not behind a
worksheet and not behind ThisWorkbook). Then I added that reference and
it
worked fine for me.

Did you put it in a General module?


I don't know. But when I hit alt-F11 it opened a VBA window, which
happened
to be in personal.xls, which holds all my global macros. I don't know why
it
opened personal.xls since my real worksheet had the focus at the time. So
the
first time I pasted it there. So I deleted it from personal.xls and pasted
it
into my real workbook and it seems to be working.

Thanks.

--
Sig: Say no to fixed width HTML tables. They look terrible in most
browsers.


--

Dave Peterson
 
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
Setting tab colours on Excel spreadsheets (for Excel 2000) S Excel Discussion (Misc queries) 2 June 15th 05 03:42 PM
Excel 2000 to Excel 97 frankie Excel Discussion (Misc queries) 2 June 14th 05 12:33 AM
can you tell me the difference between excel 2000 and excel 2003 mregel Excel Discussion (Misc queries) 2 June 13th 05 02:19 PM
Excel XP 2002 Vs. Excel 2000 Samantha Excel Discussion (Misc queries) 0 April 18th 05 03:54 PM
How do I update Excel 2000 macros to work in Excel 2002? BobPetrich Excel Discussion (Misc queries) 3 January 4th 05 04:06 PM


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