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

I am writing an Excel VBA application and ran into an problem that has the symptoms of a memory overwrite. The sympton was a stop by the debugger on a line that was taking a square root of a negative number. The number was very small (10^-16), negative, and wrong. While tracing through the program I discovered that this answer came from a previous calculation involving multiplying two numbers together, both of which were close to 1. The answer was this small number

As far as I can tell, VB is very good about keeping me bounded within my data arrays, though I am using ReDim to size storage areas based on the problem at hand. The error does not occur until a get to a certain size of problem.
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
cell data management stumped in atl Excel Discussion (Misc queries) 2 February 11th 10 04:48 PM
Data Management Riyaz Excel Discussion (Misc queries) 0 August 14th 08 09:25 AM
External data management eggpap Excel Discussion (Misc queries) 3 March 23rd 08 01:03 PM
Data management brandtastic Excel Discussion (Misc queries) 0 March 4th 07 05:00 PM
Data management for csv file dukejas Excel Programming 0 November 6th 03 10:51 PM


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