PC Review


Reply
Thread Tools Rate Thread

Can I detect if user has Excel 2007 and display different pages?

 
 
RJQMAN@gmail.com
Guest
Posts: n/a
 
      15th Sep 2008
I spent years developing a software applicaitonthat has extra menu
items at the top, and it works, finally, really well...on Excel 2003.
Along comes 2007, and the add-ins now are hidden from the soccer moms
that use the program in an obscure 'add-on' box. Is there any way that
I can detect that someone using my program has Excel 2007 and display
special help messages or something so that I do not have to rewrite
everything? I have seen ways to change the ribbon back to the 2003
headers, but if the user is familiar with the ribbon concept, that
could even cause more confusion in the future. Thanks in advance
(again).
 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      15th Sep 2008
You can test it with

If Val(Application.Version) < 12 Then
'97-2003
Else
'2007
End If

I use it for example on this page
http://www.rondebruin.nl/mail/folder1/mail2.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


<(E-Mail Removed)> wrote in message news:f98060c1-8193-4dc2-9450-(E-Mail Removed)...
>I spent years developing a software applicaitonthat has extra menu
> items at the top, and it works, finally, really well...on Excel 2003.
> Along comes 2007, and the add-ins now are hidden from the soccer moms
> that use the program in an obscure 'add-on' box. Is there any way that
> I can detect that someone using my program has Excel 2007 and display
> special help messages or something so that I do not have to rewrite
> everything? I have seen ways to change the ribbon back to the 2003
> headers, but if the user is familiar with the ribbon concept, that
> could even cause more confusion in the future. Thanks in advance
> (again).

 
Reply With Quote
 
sbitaxi@gmail.com
Guest
Posts: n/a
 
      15th Sep 2008
On Sep 15, 11:47*am, "RJQ...@gmail.com" <RJQ...@gmail.com> wrote:
> I spent years developing a software applicaitonthat has extra menu
> items at the top, and it works, finally, really well...on Excel 2003.
> Along comes 2007, and the add-ins now are hidden from the soccer moms
> that use the program in an obscure 'add-on' box. Is there any way that
> I can detect that someone using my program has Excel 2007 and display
> special help messages or something so that I do not have to rewrite
> everything? *I have seen ways to change the ribbon back to the 2003
> headers, but if the user is familiar with the ribbon concept, that
> could even cause more confusion in the future. *Thanks in advance
> (again).


Hi RJQMAN:

I got this little bit of code from Ron de Bruin, it tests what version
of Excel is being used, in order to adjust the save method but I am
sure you can adapt this to your needs.

'Determine the Excel version and file extension/format
If Val(Application.VERSION) < 12 Then
'You use Excel 97-2003
FileExtStr = ".xls": FileFormatNum = -4143
Else
'You use Excel 2007
If SrcBk.Parent.FileFormat = 56 Then
FileExtStr = ".xls": FileFormatNum = 56
Else
FileExtStr = ".xlsx": FileFormatNum = 51
End If
End If


Steven
 
Reply With Quote
 
sbitaxi@gmail.com
Guest
Posts: n/a
 
      15th Sep 2008
Looks like you beat me to it Ron.


Steven

On Sep 15, 11:54*am, "Ron de Bruin" <rondebr...@kabelfoon.nl> wrote:
> You can test it with
>
> *If Val(Application.Version) < 12 Then
> * * '97-2003
> Else
> * * '2007
> End If
>
> I use it for example on this pagehttp://www.rondebruin.nl/mail/folder1/mail2.htm
>
> --
>
> Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm
>
> <RJQ...@gmail.com> wrote in messagenews:f98060c1-8193-4dc2-9450-(E-Mail Removed)...
> >I spent years developing a software applicaitonthat has extra menu
> > items at the top, and it works, finally, really well...on Excel 2003.
> > Along comes 2007, and the add-ins now are hidden from the soccer moms
> > that use the program in an obscure 'add-on' box. Is there any way that
> > I can detect that someone using my program has Excel 2007 and display
> > special help messages or something so that I do not have to rewrite
> > everything? *I have seen ways to change the ribbon back to the 2003
> > headers, but if the user is familiar with the ribbon concept, that
> > could even cause more confusion in the future. *Thanks in advance
> > (again).


 
Reply With Quote
 
RJQMAN@gmail.com
Guest
Posts: n/a
 
      15th Sep 2008
On Sep 15, 11:54*am, "Ron de Bruin" <rondebr...@kabelfoon.nl> wrote:
> You can test it with
>
> *If Val(Application.Version) < 12 Then
> * * '97-2003
> Else
> * * '2007
> End If
>
> I use it for example on this pagehttp://www.rondebruin.nl/mail/folder1/mail2.htm
>
> --
>
> Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm
>
>
>
> <RJQ...@gmail.com> wrote in messagenews:f98060c1-8193-4dc2-9450-(E-Mail Removed)...
> >I spent years developing a software applicaitonthat has extra menu
> > items at the top, and it works, finally, really well...on Excel 2003.
> > Along comes 2007, and the add-ins now are hidden from the soccer moms
> > that use the program in an obscure 'add-on' box. Is there any way that
> > I can detect that someone using my program has Excel 2007 and display
> > special help messages or something so that I do not have to rewrite
> > everything? *I have seen ways to change the ribbon back to the 2003
> > headers, but if the user is familiar with the ribbon concept, that
> > could even cause more confusion in the future. *Thanks in advance
> > (again).- Hide quoted text -

>
> - Show quoted text -


Thanks for the help. It is much appreciated from both of the
responders. You type faster than I can think!!
 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      15th Sep 2008
Hi Steven

Better two answers for the OP then no answer

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


<(E-Mail Removed)> wrote in message news:20d2aeb2-31ac-4a33-b886-(E-Mail Removed)...
Looks like you beat me to it Ron.


Steven

On Sep 15, 11:54 am, "Ron de Bruin" <rondebr...@kabelfoon.nl> wrote:
> You can test it with
>
> If Val(Application.Version) < 12 Then
> '97-2003
> Else
> '2007
> End If
>
> I use it for example on this pagehttp://www.rondebruin.nl/mail/folder1/mail2.htm
>
> --
>
> Regards Ron de Bruinhttp://www.rondebruin.nl/tips.htm
>
> <RJQ...@gmail.com> wrote in messagenews:f98060c1-8193-4dc2-9450-(E-Mail Removed)...
> >I spent years developing a software applicaitonthat has extra menu
> > items at the top, and it works, finally, really well...on Excel 2003.
> > Along comes 2007, and the add-ins now are hidden from the soccer moms
> > that use the program in an obscure 'add-on' box. Is there any way that
> > I can detect that someone using my program has Excel 2007 and display
> > special help messages or something so that I do not have to rewrite
> > everything? I have seen ways to change the ribbon back to the 2003
> > headers, but if the user is familiar with the ribbon concept, that
> > could even cause more confusion in the future. Thanks in advance
> > (again).


 
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
Separator pages display incorrect user name in Vista AlmightyJay Windows Vista General Discussion 3 26th Sep 2009 09:06 AM
display more pages in Outlook 2007 Danyi, Attila Microsoft Outlook Form Programming 3 28th Mar 2008 12:24 PM
Outlook 2007 RSS Form region to display articles' web pages? Iliyan Georgiev Microsoft Outlook Discussion 1 30th Jul 2007 01:52 AM
How to detect user quitting excel danzel Microsoft Excel Programming 2 8th Jun 2004 12:18 PM
ie6 SP1 win2k pages wont display if user set as other than Administrator sureshbakshi Windows XP Internet Explorer 0 14th Jan 2004 06:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:54 PM.