+ Reply to Thread
Results 1 to 9 of 9

Check if Activecell Value containts "º" symbol

  1. #1
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Check if Activecell Value containts "º" symbol

    How can i see if the activecell contains "º" (this symbol)

    Need something like:

    Please Login or Register  to view this content.
    thanks in advance

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Check if Activecell Value containts "º" symbol

    Please Login or Register  to view this content.
    I'm interested in starting a career working with VBA, if anyone knows of any opportunities!

  3. #3
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Check if Activecell Value containts "º" symbol

    i had simular solution, but it's giving me error.

    I had this:
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Check if Activecell Value containts "º" symbol

    It says object required, and highlights this:

    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Check if Activecell Value containts "º" symbol

    Hard to say, I don't know what any of your variables are. I would guess that CelulaSecçãoAtual is not an object, though.

    Posting your worksheet and the whole Sub would lead to the fastest solution.

  6. #6
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Check if Activecell Value containts "º" symbol

    duplicated, sorry.
    Last edited by brainzlp; 01-21-2016 at 01:00 PM.

  7. #7
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Check if Activecell Value containts "º" symbol

    Quote Originally Posted by walruseggman View Post
    Hard to say, I don't know what any of your variables are. I would guess that CelulaSecçãoAtual is not an object, though.

    Posting your worksheet and the whole Sub would lead to the fastest solution.
    I figured it out already, celulasecçãoatual was not an object as you mentioned. Thanks , it's already working.

    Do i need to put the "1" infront of "º" in the instr formule?

    it's the vbcompare

    Have a nice day

  8. #8
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Check if Activecell Value containts "º" symbol

    I believe the 1 is optional, it's the position in the string you want InStr to start at. I believe 1 (the first character in the string) is the default

  9. #9
    Forum Contributor
    Join Date
    07-20-2015
    Location
    Covilhã
    MS-Off Ver
    2010
    Posts
    516

    Re: Check if Activecell Value containts "º" symbol

    i removed it and it's ok. It's a comparison mode for database, binary something and so on. Without the 1 it works.

    Thanks for your help

+ 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. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  2. [SOLVED] If Range("K" & ActiveCell.Row) = "" Then (ERROR)
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2013, 04:56 PM
  3. [SOLVED] How to check two columns for the presence of text and returning "yes" or "no"
    By Karelia Suite in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-19-2013, 09:36 AM
  4. email sort after "@" symbol and "."?
    By Donkies11 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-27-2010, 07:43 PM
  5. How to set the Activecell of "Sheet2" to Activecell of "Sheet1"
    By shawnh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-06-2010, 11:12 PM
  6. Replies: 0
    Last Post: 04-03-2007, 10:26 AM
  7. [SOLVED] create links to check boxes marked "good" fair"and "bad"
    By pjb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2006, 09:25 PM
  8. Replies: 2
    Last Post: 05-02-2005, 08:06 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