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

Hi!

I have a problem with an application I have made in VBA for Excel and hope
you will be able to help me out.

I have made a small database in Excel with user interface, which is shared
between several users in our company.

The problem is that not all users use the same version of MS Excel
(Office) and some compatibility issues arise. I believe I use one of the
latest versions of MS Excel available in the company. The problem arises
when another user with an older version of Excel opens the application and
saves the changes he or she has made (to the spreadsheet via user
interface but not the VBA code). After that the application won’t
run on my computer but still works on other computers which presumably use
the same (older) version of software. I have also noticed that the file
size reduces from 370 KB to 330 KB after the application has been opened
and saved by another user with an older version of Excel.

This doesn’t make much sense to me … I would understand if my
application didn’t run on the older version of Excel but not the
other way around as in my case. Is there a way to tell VBA not to save any
changes to the VBA code which might have been done automatically during
the compilation on another computer? That is, only changes to the
spreadsheet should be saved.

Is it possible to append certain libraries to the VBA code that would
enable it to run on the older version of Excel without severely changing
the code during compilation (I assume this might be the cause)?

Any help or helpful suggestions will be appreciated!

Cheers,
Bostjan


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Compatibility issues

Bostjan

A couple of ideas:

1. save the code on your machine as the lowest version, presumably 95/97.

2. seperate the code and the database to seperate sheets and have more than
one version of the code.

--
HTHs Martin


"Bostjan" wrote:

Hi!

I have a problem with an application I have made in VBA for Excel and hope
you will be able to help me out.

I have made a small database in Excel with user interface, which is shared
between several users in our company.

The problem is that not all users use the same version of MS Excel
(Office) and some compatibility issues arise. I believe I use one of the
latest versions of MS Excel available in the company. The problem arises
when another user with an older version of Excel opens the application and
saves the changes he or she has made (to the spreadsheet via user
interface but not the VBA code). After that the application wont
run on my computer but still works on other computers which presumably use
the same (older) version of software. I have also noticed that the file
size reduces from 370 KB to 330 KB after the application has been opened
and saved by another user with an older version of Excel.

This doesnt make much sense to me €¦ I would understand if my
application didnt run on the older version of Excel but not the
other way around as in my case. Is there a way to tell VBA not to save any
changes to the VBA code which might have been done automatically during
the compilation on another computer? That is, only changes to the
spreadsheet should be saved.

Is it possible to append certain libraries to the VBA code that would
enable it to run on the older version of Excel without severely changing
the code during compilation (I assume this might be the cause)?

Any help or helpful suggestions will be appreciated!

Cheers,
Bostjan



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
Compatibility issues with MS 2003 & 2007? Roxy Excel Discussion (Misc queries) 1 May 6th 08 06:00 PM
Outlook 11 Outlook 10 Object Library Compatibility Issues Paul Mac[_4_] Excel Programming 11 May 19th 06 04:27 AM
Compatibility issues with macros (2000 vs. 2003)? Lori Smith Excel Discussion (Misc queries) 3 August 25th 05 08:10 PM
backward compatibility code issues Mark Kubicki Excel Programming 1 October 10th 03 07:37 PM
compatibility issues foreign versions Ron de Bruin Excel Programming 0 July 9th 03 04:37 PM


All times are GMT +1. The time now is 04:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"