Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default VBA 6.5 on older systems

I have created a spreadsheet application that I need to distribute. I
originally wrote it using Excel 2007. I then moved it to 2003. Even when
running 2003 on my machine, it is using VBA 6.5. Is there a way to a) force
it to use an older version or b) an easy way (other than upgrading to Office
2007) for an Office 2003 user to load VBA 6.5?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default VBA 6.5 on older systems

One of the big sticky points of switching between versions of the same
application, certain codes are modified, so to get around such issues, you
often times end up having to use late binding rather than early binding. To
use late binding, it's very tedious as you can't use some of the features
that you can with early binding. A lot of that has to do with the fact that
when using late binding, compilation of the code takes place at "Run-Time"
rather than at "Design-Time", as what happens with early binding. While
late binding gives you the advantage of being version independent, it also
runs a lot slower than early binding. To read up more on the difference
between early binding and late binding as well as how to late bind code,
look at the following links:

http://word.mvps.org/FAQs/InterDev/E...ateBinding.htm

http://peltiertech.com/Excel/EarlyLateBinding.html

"Jim Hunt" wrote in message
...
I have created a spreadsheet application that I need to distribute. I
originally wrote it using Excel 2007. I then moved it to 2003. Even when
running 2003 on my machine, it is using VBA 6.5. Is there a way to a)
force
it to use an older version or b) an easy way (other than upgrading to
Office
2007) for an Office 2003 user to load VBA 6.5?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default VBA 6.5 on older systems

I use xl2003 and the version of VBA is 6.5. That's the same version of VBA that
xl2007 uses.

I wouldn't worry about the difference between the version numbers of VBA. But
what I would worry about is the code itself. There are things added in each
version that won't work in previous versions.

But that sounds like it's not a problem for you--since you've already tested in
xl2003.

If you can, you may want to try to develop in the oldest versions and then test
in the newer versions--it's usually easier to find the compatibility problems.

Jim Hunt wrote:

I have created a spreadsheet application that I need to distribute. I
originally wrote it using Excel 2007. I then moved it to 2003. Even when
running 2003 on my machine, it is using VBA 6.5. Is there a way to a) force
it to use an older version or b) an easy way (other than upgrading to Office
2007) for an Office 2003 user to load VBA 6.5?

Thanks.


--

Dave Peterson
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
HOW TO GET TRACKING SYSTEMS [email protected] Excel Worksheet Functions 0 May 15th 08 12:49 PM
How do I make Excel 2007 compatible to others on older MS systems DSMDR Guy Excel Discussion (Misc queries) 2 November 15th 07 06:56 PM
File systems nath Excel Programming 2 July 6th 04 01:27 PM
Distributing a VBA app across different systems, help please Joe 90[_2_] Excel Programming 0 November 14th 03 05:20 PM
Getting the systems username Bruce A. Perry Excel Programming 2 August 14th 03 06:15 PM


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