PC Review


Reply
Thread Tools Rate Thread

Cubevalue (Excel 2007) versus Cubecellvalue (Excel 2003)

 
 
Quiller38
Guest
Posts: n/a
 
      25th Apr 2008
I have developed a spreadsheet in Excel 2003 which attaches to an analysis
services cube, using the analysis services add-in function "cubecellvalue"
plus appropriate mdx statements to build the sheet in the format required.

However in Excel 2007 this only works if I alter the sheet to use the
built-in function "cubevalue", which then does not work in Excel 2003.

My problem is that I have users who need to share spreadsheets, and they are
using a mixture of versions. Do you think it is possible for me to create
and distribute a function of my own called "cubevalue" in Excel 2003 which
would then make the sheets compatible with Excel 2007 ? Or does Microsoft
have a compatibility aid that I am not aware of which would avoid this
problem ?
 
Reply With Quote
 
 
 
 
Peter T
Guest
Posts: n/a
 
      25th Apr 2008
Suggest change

> If Excel.Version > 12 Then


to

If Val(Application.Version) >= 12 Then

Regards,
Peter T

"Mike Fogleman" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Perhaps check the version number of Excel to set-up the sheet and run the
> appropriate code with logic like this:
>
> If Excel.Version > 12 Then
> alter sheet to run built-in cube
> Else
> run add-in cube
> End If
>
> Mike F
> "Quiller38" <(E-Mail Removed)> wrote in message
> news:FF49CA99-AAE8-4339-8073-(E-Mail Removed)...
> >I have developed a spreadsheet in Excel 2003 which attaches to an

analysis
> > services cube, using the analysis services add-in function

"cubecellvalue"
> > plus appropriate mdx statements to build the sheet in the format

required.
> >
> > However in Excel 2007 this only works if I alter the sheet to use the
> > built-in function "cubevalue", which then does not work in Excel 2003.
> >
> > My problem is that I have users who need to share spreadsheets, and they
> > are
> > using a mixture of versions. Do you think it is possible for me to

create
> > and distribute a function of my own called "cubevalue" in Excel 2003

which
> > would then make the sheets compatible with Excel 2007 ? Or does

Microsoft
> > have a compatibility aid that I am not aware of which would avoid this
> > problem ?

>
>



 
Reply With Quote
 
Quiller38
Guest
Posts: n/a
 
      25th Apr 2008
Okay thanks chaps, I will go down the route of testing for version and then
use a macro to change the formulas depending on which version it is in.

 
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
Excel 2007 versus Excel 2003 & Excel 97-2003 fully compatible Bumpersnesty Microsoft Excel Worksheet Functions 0 26th Apr 2010 09:44 PM
RE: Excel 2007 versus Excel 2003 : Speed problem Joel Microsoft Excel Programming 2 25th Jun 2009 01:46 PM
CUBEVALUE Function - Excel 2007 =?Utf-8?B?S3Jlc2ltaXIgWm9yaWM=?= Microsoft Excel Worksheet Functions 1 23rd Dec 2008 01:11 AM
'Costom View' in Excel 2003 versus Excel 2007 Byaym Microsoft Excel Misc 0 18th Sep 2008 10:55 AM
Excel 2003 versus Excel 2007 calculation speed Stan Brown Microsoft Excel Discussion 7 10th Apr 2007 07:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:57 AM.