+ Reply to Thread
Results 1 to 14 of 14

Just need code to recognise Ticks as well as digits

  1. #1
    Registered User
    Join Date
    03-25-2019
    Location
    manchester, England
    MS-Off Ver
    365
    Posts
    22

    Just need code to recognise Ticks as well as digits

    Hi,

    been using below code to allow me to put a value in any cell and update all sheets across top 3 rows.

    I would like it to be able to still do this but it doesnt seem to work with Ticks but only numbers and words


    Please Login or Register  to view this content.
    [/QUOTE]

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Just need code to recognise Ticks as well as digits

    Hello,
    What do you mean by a "Tick"?

  3. #3
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,913

    Re: Just need code to recognise Ticks as well as digits

    According to Wikipedia.
    Ticks are small arachnids
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Just need code to recognise Ticks as well as digits

    Quote Originally Posted by bakerman2 View Post
    According to Wikipedia.

    Yes, and damn gross when you look at them in a microscope.

  5. #5
    Registered User
    Join Date
    03-25-2019
    Location
    manchester, England
    MS-Off Ver
    365
    Posts
    22
    Quote Originally Posted by davesexcel View Post
    Hello,
    What do you mean by a "Tick"?
    check the attachment - the character (tick sign) i.e tick a box Haha

  6. #6
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: Just need code to recognise Ticks as well as digits

    How are those ticks inserted in worksheet??

  7. #7
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Just need code to recognise Ticks as well as digits

    Anybody else see an attachment?

  8. #8
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Just need code to recognise Ticks as well as digits

    Ok, I found your attachment from a previous thread.

    In your double-click event you are setting enable events to false, therefore the worksheet change event will not kick in.

  9. #9
    Registered User
    Join Date
    03-25-2019
    Location
    manchester, England
    MS-Off Ver
    365
    Posts
    22

    Re: Just need code to recognise Ticks as well as digits

    Sorry about that - So if I set that to True will it then work coherently with the above code? and allow the tickboxes to also copy on to each page regardless of which tab I double click on? or will I only be able to use the above code to replicate numerical and letters?

  10. #10
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Just need code to recognise Ticks as well as digits

    If I read your question correctly, I believe the worksheet change event will only kick in with the active sheet

  11. #11
    Registered User
    Join Date
    03-25-2019
    Location
    manchester, England
    MS-Off Ver
    365
    Posts
    22

    Re: Just need code to recognise Ticks as well as digits

    Yes What I am saying is when I input that code on a blank worksheet, it will allow me to enter any information on any sheet along the top 3 rows and have that update all the other sheets with the same data.

    However when I used a Tickbox VBA to see whether I could do the same with this across all sheets - it doesn't recognise when a tick is in a box but it will recognise the number 1 for example.

    Try copying that code to a blank workbook and then use a tick character in a cell and you will see the numbers and letters will work but tick signs do not for some reasons.

    thanks,

  12. #12
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Just need code to recognise Ticks as well as digits

    Are you talking about checkboxes?

    When you check a checkbox, the worksheet change event does not kick in?

  13. #13
    Registered User
    Join Date
    03-25-2019
    Location
    manchester, England
    MS-Off Ver
    365
    Posts
    22

    Re: Just need code to recognise Ticks as well as digits

    Exactly yes!

  14. #14
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Just need code to recognise Ticks as well as digits

    Can you supply a sample, so we don't have to keep guessing what you are talking about?

+ 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. vba code to recognise what button is pressed in internet explorer
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2017, 07:07 AM
  2. [SOLVED] Unable to Get userForm to Recognise code. With Error message regarding VLookup
    By Mark Dynes in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 03-08-2017, 01:20 PM
  3. [SOLVED] How to set the Message Box decimals to 2 digits in the following code .... ?
    By omega0010 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-13-2015, 03:12 PM
  4. [SOLVED] Removing extra digits from a zip code
    By kbiro in forum Excel General
    Replies: 3
    Last Post: 06-18-2015, 10:54 PM
  5. [SOLVED] why does code not recognise numbers
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-23-2013, 11:57 AM
  6. [SOLVED] Making code recognise conditional formatting
    By craigten in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2013, 09:06 PM
  7. Help changing code to recognise non-blank cells
    By Oz Dude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-12-2012, 05:33 AM

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