+ Reply to Thread
Results 1 to 2 of 2

why isnt instr("198.40",Application.DecimalSeparator)>0

  1. #1
    Forum Contributor
    Join Date
    12-01-2007
    Location
    USA-North Carolina
    MS-Off Ver
    MS Office 2007
    Posts
    2,449

    why isnt instr("198.40",Application.DecimalSeparator)>0

    Hi, i have a string that has numbers in it..........like this "198.40"

    my decimal separator is a period "."

    so why isnt this instr value greater than 0

    "instr("198.4",Application.DecimalSeparator)"

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    19,772

    Re: why isnt instr("198.40",Application.DecimalSeparator)>0

    It is,

    Please Login or Register  to view this content.
    What do you get?
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem with consistent "Application.Wait (Now + TimeValue("0:00:10"))"
    By JimmyWilliams in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 02-09-2018, 08:20 PM
  2. [SOLVED] If Instr(Cells(x,1), "String") or InStr(cells(x,1),"string") Then.... won't work
    By DAKevin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2016, 06:10 PM
  3. [SOLVED] chage cell color to "white" if it isnt "grey"
    By baker74 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-21-2015, 12:22 AM
  4. How to use InStr function to search for a text that starts with "CTF" and ends with "."?
    By yoursamrit2000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-27-2014, 06:52 PM
  5. Replies: 1
    Last Post: 05-23-2013, 02:04 PM
  6. Instr() function giving error: "Type mismatch"
    By arjun.majumdar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-22-2013, 04:17 AM
  7. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1