LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 538
Default Time issues in code

Claus Busch wrote:

Hi Auric,

Am Sun, 11 Aug 2013 19:44:01 +0200 schrieb Claus Busch:

If IsNumeric(cell.Formula) And Not InStr(cell.Value, ",") 0 Then


sorry, typo. The line above is for german system
Try:
If IsNumeric(cell.Formula) And Not InStr(cell.Value, ".") 0 Then

or
If IsNumeric(cell.Formula) And InStr(cell.Value, ".") = 0 Then


Aha! That works! Thank you!

(I don't know why it never occured to me to check for the decimal...)

--
You need only two tools: WD-40 and duct tape.
If it doesn't move and it should, use WD-40.
If it moves and shouldn't, use the tape.
 
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
Issues with time clock valiant Excel Programming 5 June 6th 08 05:54 PM
Issues with Time being converted to Date/Time format D[_10_] Excel Programming 1 February 28th 07 08:32 PM
Time Issues LostNFound Excel Worksheet Functions 3 March 1st 05 01:10 PM
Run Time Issues Steph[_3_] Excel Programming 1 May 28th 04 06:50 PM
Run Time Issues Steph[_3_] Excel Programming 1 May 27th 04 11:03 PM


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