Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem with code causing Excel '97 to crash

I hope somebody will be able to help with this. The code below cause
Excel to crash using version '97 but runs fine with Excel 2000.

For j = IIf(updateFrom 52, updateFrom, 53) To updateTo
Cells(r, j - 44).Value
IIf(IsNull(rstProductData.Fields(j).Value), 0
rstProductData.Fields(j).Value)
Next j

It executes this code (which precedes it) without any problems:

For j = updateFrom To IIf(updateTo 52, 52, updateTo)
Cells(r, j + 8).Value
IIf(IsNull(rstProductData.Fields(j).Value), 0
rstProductData.Fields(j).Value)
Next j

I'm not sure what further details are needed to diagnose the problem s
please let me know.

Thanks for any help

--
Message posted from http://www.ExcelForum.com

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
EXCEL FILE BLOAT CAUSING FILE CRASH BlueWolverine Excel Discussion (Misc queries) 0 November 23rd 09 06:19 PM
Cell change event causing EXCEL to crash Ashish Excel Worksheet Functions 3 January 9th 09 04:01 AM
Conditional formatting causing Excel to crash No Name Excel Discussion (Misc queries) 3 October 10th 08 03:35 PM
Macro Glitch Causing Crash Danimagus Excel Discussion (Misc queries) 1 June 6th 05 06:19 PM
Charts causing program to crash Fysh Charts and Charting in Excel 1 December 16th 04 10:12 PM


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