LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default RunTimeError-438 XL2007--XL2003 Compatibility Issues

Can anyone help here?

Have a program coded in XL-2007 that runs great with no issues what-so-ever
(Thanks to a number of this forum contributors!). Since I'll have other users
that only have XL-2003 or earlier, I saved the files in 97-2003
compatibility. Running as 97-2003 in my XL-2007, the program runs great - as
I want it to w/no hiccups.

Files only show some instances of "Minor loss of fidelity" when checked. Yet
when run by others on XL-2003, had issues that causes a Run Time Error of 438
(Object doesn't support this property or method) w/Debug referencing the code
for indicated line--

Private Sub Sampling_Click()
-- Workbooks.Open ("C:\My Documents\Workfiles\REQUEST WORKSHEET
97-2003.xls")
PromptDialog.Hide
End Sub

[Confirmed that the file path is spot on...]

Yet - -
Compatibility Report for Master.xls
Run on 2/2/2009 20:41
The following features in this workbook are not supported by earlier
versions of Excel. These features may be lost or degraded when you save this
workbook in an earlier file format.
Minor loss of fidelity# of occurrences 3

Some cells or styles in this workbook contain formatting that is not
supported by the selected file format. These formats will be converted to the
closest format available.

Is the Workbooks.open code not compatible in 97-2003 versions (or perhaps
the PromptDialog.hide)?



Rest of separate called reference files with filtered/consolidated data
shows 14 minor Loss of Fidelity issues --
Yet, when run on xL2003, they return a Run Time Error 438 that DeBug shows
as issues ---

With Sheets("Summary").ListObjects(1) 'Delete old data
---- .AutoFilter.ShowAllData
m = .ListColumns.Count
ReDim sc(m + 1)
For i = 1 To m
sc(i) = .ListColumns(i).Name
Application.StatusBar = "Part Two " & Format$(i / m, "#00%") '<<<<
Next i


Is AutoFilter.showalldata an issue with older versions of XL?

And also at---
Sub CombineTs()
Dim rr As Integer 'row count of Summary
Dim n As Integer 'sheet count
Dim m As Integer 'column count Summary
Dim t As Integer
Dim s() As Variant 'row count others
Dim u As Integer 'cumulative row count
Dim ss As String 'name of Summary
Dim sc() As Variant 'column names in Summary
Dim ssc() As Variant 'column count others
Dim i As Integer
Dim j As Integer

ss = "Summary"
Application.ScreenUpdating = False
Application.DisplayAlerts = False

n = ActiveWorkbook.Worksheets.Count
ReDim s(n + 1)
ReDim ssc(n + 1)
u = 1
For t = 1 To n
-----If Not ss = Worksheets(t).Name And Worksheets(t).ListObjects.Count = 1
Then
s(t) = Worksheets(t).ListObjects(1).ListRows.Count
ssc(t) = Worksheets(t).ListObjects(1).ListColumns.Count
End If
Application.StatusBar = "Part One of Four " & Format$(t / n, "#00%") '<<<<
Next t


Not sure of what the issues are here...


Anyone with insights?

.... or do I need to code in native XL-2003 to ensure compatibility (Or
convince all to upgrade to XL-2007)?
 
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
XL2007 and XL2003 LeeCC Excel Discussion (Misc queries) 2 December 18th 08 04:44 PM
Conditional formatting different on XL2007 than XL2003 Stan Excel Discussion (Misc queries) 0 July 16th 08 06:24 PM
Upgrade options from XL2003/VBA/VB6 to XL2007/VB.NET ... Boesman Excel Programming 0 August 20th 07 04:57 PM
XL2007 vs XL2003 Art Excel Programming 10 April 21st 07 04:32 PM
XL2003 inconsistency fixed in XL2007? joeu2004 Excel Worksheet Functions 2 March 5th 07 05:59 PM


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