View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sing Sing is offline
external usenet poster
 
Posts: 18
Default Simple If statement encounter error

Dear Excel Gurus,

I have just encountered the strangest error. Is it a bug in Excel VBA
compiler?

Below statement encountered overflow error (run-time error 6);
If (turnoverToday = (150 * 1000)) Then

Below statement encounters no error;
If (turnoverToday = (150000)) Then

Aren't they the same!!??