$$Excel-Macros$$ CurrentArray (Range Property) not working in MS 2010 VBA Functions

2013-04-04 Thread Dougie Excel
The attached file demonstrates that the CurrentArray (Range Property) is not working in MS 2010 VBA Functions as described* (though it does run correctly in macros). The following facts both describe how the file works and also provide simple steps to recreate the file for yourselves if you don

$$Excel-Macros$$ Re: Pivot Table - Average

2010-04-16 Thread Dougie Excel
OK I modelled this to work with QX (see 'ForLouisZA.xls' in the files section), however, can't you just take the total per time interval and divide by the number of days in the total database? In the model, I've shown both ways of doing it. The model has 30 min intervals from 6am to 8pm, 16-20 Apri

Re: $$Excel-Macros$$ Re: Convert to unique rows

2010-04-15 Thread Dougie Excel
gt; > you. I will incorporate into my actual data. Thank you very much for > > taking the time > > > On Apr 13, 9:57 am, Dougie Excel > > wrote: > > > > Sorry, I have now found the group file section and will use it myself. > > > > Stephen, your

$$Excel-Macros$$ Re: qx() enhanced database function

2010-04-13 Thread Dougie Excel
e the 'right thing to do' ;^) On Apr 2, 5:15 pm, Dougie Excel wrote: > http://www.douglaswilliamsmith.net/Excel_Functions/ > > Frequent use of database functions in Excel over my career prompted me > to start making an enhanced ‘user defined’ function in Excel for > retrie

Re: $$Excel-Macros$$ Re: Convert to unique rows

2010-04-13 Thread Dougie Excel
file section. Have attached it > herewith. > > AJ > > On Tue, Apr 13, 2010 at 3:39 PM, Dougie Excel > > > > wrote: > > As Paul Willekens said, you've not uploaded anything. > > > The easiest solution to your task *sounds* like it would be a pivot

$$Excel-Macros$$ Re: Convert to unique rows

2010-04-13 Thread Dougie Excel
As Paul Willekens said, you've not uploaded anything. The easiest solution to your task *sounds* like it would be a pivot table (just google 'excel pivot tutorial' or something and you'll find out all you need). The QX Function* can summarize databases on unique criteria as well, but being a VBA

$$Excel-Macros$$ qx() enhanced database function

2010-04-02 Thread Dougie Excel
http://www.douglaswilliamsmith.net/Excel_Functions/ Frequent use of database functions in Excel over my career prompted me to start making an enhanced ‘user defined’ function in Excel for retrieving data from Excel databases in the mid 90’s. In the meantime, functionality has been continually adde

Re: $$Excel-Macros$$ Need procedure to allow VBA code by users during runt-time?

2010-03-22 Thread Dougie Excel
That was GOLD, Chris! Thanks! The scripting object evaluates user code input and avoids BOTH problems: 1. The really weird problem (all other user functions outputting #NAME? after any code-writing function is entered) is gone - users can specify code in some cell that is in turn specified as the

$$Excel-Macros$$ Need procedure to allow VBA code by users during runt-time?

2010-02-26 Thread Dougie Excel
For various reasons a user-defined function of mine needs to allow user input that is interpreted as executable code (in this case any excel expression). The most straight forward approach would be for the function procedure to input code into a module active in the same excel session and subseque