Results 1 to 13 of 13

Hide/Unhide text box based on cell value with real-time data from arduino

Threaded View

  1. #1
    Registered User
    Join Date
    12-02-2016
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    21

    Post Hide/Unhide text box based on cell value with real-time data from arduino

    Hi! I need some help. I have a column in sheet 1 that have a real time data on it that comes from arduino and I want to hide or unhide a textbox on sheet2 based on the value of the cells in the column but everytime the arduino feed data to the cell nothing happens but when I manually enter data the textbox can now be hide/unhide. Please help! Here is my code:


    Private Sub Worksheet_Change(ByVal Target As Range)
    
    
       If Target.Count > 1 Then Exit Sub
    If Not Application.Intersect(Target, Range("Sheet1!B:B")) Is Nothing Then
            If Target.Value <= "40" Then
            
                ActiveSheet.Shapes("Text Box 1").Visible = True
            Else
                
                ActiveSheet.Shapes("Text Box 1").Visible = False
            
             End If
        End If
    End Sub
    Last edited by art_a_game; 12-12-2016 at 12:11 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to Run a Macro Based on Change in a cell caused by incoming Real-Time Server Data
    By taxkinginc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-18-2016, 05:00 AM
  2. How to Hide-Unhide Row Based on a Cell Value
    By putritersenyum in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2015, 06:56 AM
  3. [SOLVED] Hide and unhide text box based on a cell value - 2
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2015, 06:59 PM
  4. [SOLVED] Unhide and Hide row(s) based on value in a cell in the row above
    By jammi1710 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-18-2014, 01:27 AM
  5. [SOLVED] Hide/Unhide sheets based on text result of IF Formula in cell in another sheet
    By yukinosei in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-16-2014, 01:17 PM
  6. [SOLVED] hide or unhide rows based on text within a drop down list
    By souimet in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-17-2013, 01:32 AM
  7. Hide/Unhide rows based on system time?
    By Johnnyellow23 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-17-2013, 03:55 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