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

I have written a source code i excel VBA. I have Excel 2002. When I try to
open this wirkbook in older build versions of excel I get an error: Error in
compilation hidden module, and error in compilation module1.
Are there any way to make a code backward compatible to older builds or
anything else that can solve my problem.

Ole:)


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default excel 2002 build problem :(

Ole,

You need to write your code to be compatible with the earliest
version of Excel that will be used to open your workbook. There
is no "backward compatible" save option.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Ole Einar Ranengen" wrote in message
...
I have written a source code i excel VBA. I have Excel 2002.

When I try to
open this wirkbook in older build versions of excel I get an

error: Error in
compilation hidden module, and error in compilation module1.
Are there any way to make a code backward compatible to older

builds or
anything else that can solve my problem.

Ole:)




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default excel 2002 build problem :(

Ole Einar Ranengen wrote:
I have written a source code i excel VBA. I have Excel 2002. When I
try to open this wirkbook in older build versions of excel I get an
error: Error in compilation hidden module, and error in compilation
module1.
Are there any way to make a code backward compatible to older builds
or anything else that can solve my problem.

Ole:)


Start by removing early binding of object variables. Instead of Dim
myVar as workbook use Dim myVar as object. This sometimes helps with
compatibility problems. Otherwise, in the older version of Excel, open
the workbook with the shift key down to prevent autostart procedures
from starting. Then open in VBA, set break on all errors, and try
either stepping through the code, or hoping that the debugger will
properly break on the errors.

Q


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
Help to build a Look Up Function or What Ever Function Excel 2002 Carlo Excel Worksheet Functions 6 April 3rd 08 07:39 PM
Basic problem with EXCEL 2002 [email protected] Excel Discussion (Misc queries) 1 October 24th 06 12:16 AM
Iteration problem (Excel 2002) Stefan Kasserra Excel Worksheet Functions 1 July 17th 06 11:38 PM
Merge using Excel 2002 and Hummingbird Docs Open 3.9.0 Build 199 a_ryan1972 Excel Discussion (Misc queries) 0 April 15th 05 01:45 PM
Problem with Excel 2002 Doc Excel Programming 8 December 29th 03 03:52 AM


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