+ Reply to Thread
Results 1 to 4 of 4

Macro to strikethrough row when button pressed

  1. #1
    Registered User
    Join Date
    01-25-2017
    Location
    Worcester
    MS-Off Ver
    2016
    Posts
    93

    Macro to strikethrough row when button pressed

    Hi,

    I have created a button with a search box and need a macro that will search for the value in the search box on a sheet full of data and if the number is found, strikethrough the entire line.
    There will be roughly 4000 lines and I'm using column A as the source for the search box.

    Is this possible?

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Macro to strikethrough row when button pressed

    Which cell in column A is the search box? Can the number be anywhere on the sheet or is it in a particular column?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    01-25-2017
    Location
    Worcester
    MS-Off Ver
    2016
    Posts
    93

    Re: Macro to strikethrough row when button pressed

    Hi Mumps1, The search box is on another sheet using a textbox and a button to enter the search criteria. There are other requirements that you also might be able to assist with if you look at my original post.

    https://www.excelforum.com/excel-pro...ver-sheet.html

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: Macro to strikethrough row when button pressed

    I will respond in your original thread.

+ 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. [SOLVED] Macro to record date button pressed
    By ScabbyDog in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-10-2016, 09:54 AM
  2. [SOLVED] Macro not working when button pressed
    By mintymike in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-08-2016, 04:21 PM
  3. Replies: 5
    Last Post: 02-19-2016, 06:37 PM
  4. macro button can not be pressed or clicked
    By associates in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2014, 02:47 AM
  5. Redirect Excel to a Macro when the button 'Refresh All' is pressed
    By Pommy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2014, 11:20 AM
  6. Macro to create a graph when a button is pressed
    By jembop in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-17-2014, 01:43 AM
  7. ontime macro button activates all sheets in woorkbook intead of just the one it is pressed
    By peter renton in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-01-2013, 02:57 PM

Tags for this Thread

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