Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Office 12 VBA

Hi all,

I was wondering if anyone knew whether VBA would be supported in Excel
Office 12??
and also would the object models be the same?
how would the XML format for save files affect everything?

Thanks heaps,
Jason

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Office 12 VBA

Jason,
A quick Google on [Office 12 VBA] gives you a good start, but briefly:
Yes.
No exactly, it is a new version after all.
See http://blogs.msdn.com/brian_jones/ar...12/438262.aspx

NickHK

"spIky haIred" wrote in message
oups.com...
Hi all,

I was wondering if anyone knew whether VBA would be supported in Excel
Office 12??
and also would the object models be the same?
how would the XML format for save files affect everything?

Thanks heaps,
Jason



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Office 12 VBA

Much of the Excel object model will remain, worksheets, workbooks etc., but
much will change to accommodate the new features, such as the ribbon. It
will be interesting to see how much of the old code works, and how much
doesn't.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"spIky haIred" wrote in message
oups.com...
Hi all,

I was wondering if anyone knew whether VBA would be supported in Excel
Office 12??
and also would the object models be the same?
how would the XML format for save files affect everything?

Thanks heaps,
Jason



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Office 12 VBA

Thanks Bob and Nick for your replies. Yes it will be interesting to see
how much of the old code works... it is something which I am a little
concerned about. Would this mean that if supporting older versions I
would need to write separate code (in some cases where the object model
has changed) for Office 12 and for Office 11 and earlier?

Bob Phillips wrote:

Much of the Excel object model will remain, worksheets, workbooks etc., but
much will change to accommodate the new features, such as the ribbon. It
will be interesting to see how much of the old code works, and how much
doesn't.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"spIky haIred" wrote in message
oups.com...
Hi all,

I was wondering if anyone knew whether VBA would be supported in Excel
Office 12??
and also would the object models be the same?
how would the XML format for save files affect everything?

Thanks heaps,
Jason


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Office 12 VBA

Jason,
It's generally best to write your code on the oldest version you expect to
support.
Backwards compatibility that is "usually" honoured in newer versions ensures
your code still works.

If you need some functionality that only exists in newer versions, you will
need to check which version the code is running on and take appropriate
steps.

NickHK

"spIky haIred" wrote in message
oups.com...
Thanks Bob and Nick for your replies. Yes it will be interesting to see
how much of the old code works... it is something which I am a little
concerned about. Would this mean that if supporting older versions I
would need to write separate code (in some cases where the object model
has changed) for Office 12 and for Office 11 and earlier?

Bob Phillips wrote:

Much of the Excel object model will remain, worksheets, workbooks etc.,

but
much will change to accommodate the new features, such as the ribbon. It
will be interesting to see how much of the old code works, and how much
doesn't.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"spIky haIred" wrote in message
oups.com...
Hi all,

I was wondering if anyone knew whether VBA would be supported in Excel
Office 12??
and also would the object models be the same?
how would the XML format for save files affect everything?

Thanks heaps,
Jason






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Office 12 VBA

I think the answer to that is that it is very likely that you will have to.
Backwards compatibility is fine, but as I see it the ribbon is so different
to commandbars that code that sets commandbars etc. just won't work.There is
conditional compiling though which eases the job.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"spIky haIred" wrote in message
oups.com...
Thanks Bob and Nick for your replies. Yes it will be interesting to see
how much of the old code works... it is something which I am a little
concerned about. Would this mean that if supporting older versions I
would need to write separate code (in some cases where the object model
has changed) for Office 12 and for Office 11 and earlier?

Bob Phillips wrote:

Much of the Excel object model will remain, worksheets, workbooks etc.,

but
much will change to accommodate the new features, such as the ribbon. It
will be interesting to see how much of the old code works, and how much
doesn't.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"spIky haIred" wrote in message
oups.com...
Hi all,

I was wondering if anyone knew whether VBA would be supported in Excel
Office 12??
and also would the object models be the same?
how would the XML format for save files affect everything?

Thanks heaps,
Jason




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Office 12 VBA

Hi again Bob and Nick,
Thanks again for your help on this topic. I think it will be
interesting for all VBA developers once the new Office 12 is released.
When are Microsoft anticipating it will be released? Also I don't know
much about the ribbon but is that the "command bar" that will be
replacing the old one? I agree with you there Bob, I think much of the
code there will change. Can I ask what "conditional compiling" is? I
was thinking of handling command bar related code with a check on which
version of Excel the user was running and executing the relevant block
of code accordingly... What kind of applications do both of you
develop?
Cheers :)

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Office 12 VBA

I was also considering to download the Office 12 beta... have either of
you done that to have a play around? I wonder if it would be
worthwhile? Thanks again guys.

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Office 12 VBA

"spIky haIred" wrote in message
ups.com...
Hi again Bob and Nick,
Thanks again for your help on this topic. I think it will be
interesting for all VBA developers once the new Office 12 is released.
When are Microsoft anticipating it will be released?


It certainly will be! AFAIK, MS are anticipating late 2006 but they still
have much testing to do yet, and so no date has yet been announced.

Also I don't know
much about the ribbon but is that the "command bar" that will be
replacing the old one? I agree with you there Bob, I think much of the
code there will change.


You can read about it on Jensen's blog at
http://blogs.msdn.com/jensenh/archiv...17/493890.aspx

Can I ask what "conditional compiling" is? I
was thinking of handling command bar related code with a check on which
version of Excel the user was running and executing the relevant block
of code accordingly...


Conditional compiling is where you create different code for multiple
situations, such as multiple versions, where you want the code to behave
differently in one situation to another. For instance, very simplistically,

#IF Ver12 Then
myVar = "this is running in Office 12"
#Else
myVar = "this is running pre-Office 12"
#End If

where Ver12 is a conditional variable that can either be defined in your
code declaratives, like this

#Const Ver12 = True 'False when compiling for pre-Office 12

or set in the project properties.

It is very useful, as the code than is it the True conditiojn is compiled,
the rest is ignored.

What kind of applications do both of you
develop?


I develop all sorts of apps, from stand-alone spreadsheets, to full apps,
using VBA, VB, Access, SQL-Server, ASP, etc.


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
eula pops up every time i open an office program. office 2003 ins. ijscholl Excel Discussion (Misc queries) 0 July 28th 09 11:54 PM
Office 2007 compatibility pack on Office 2003 (slow network file fox_mulder33 Setting up and Configuration of Excel 0 January 2nd 08 03:28 PM
Office 2000/Office 2003 Excel not printing landscape vise versa BAHTTEXT in English text Setting up and Configuration of Excel 1 April 17th 06 01:37 PM
Unable to access the Office Online Web site in Office 2003, Excel Marcy S Excel Discussion (Misc queries) 2 March 21st 06 09:56 PM
Problem sharing spreadsheet between Office10 (Office XP) and Office 11 (Office 2003) Sage Solutions Group Excel Programming 0 August 20th 04 08:58 PM


All times are GMT +1. The time now is 02:31 AM.

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"