+ Reply to Thread
Results 1 to 5 of 5

Replace a disappearing command button with Text

  1. #1
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Tacoma, Washingtonn
    MS-Off Ver
    Excel 2019
    Posts
    361

    Replace a disappearing command button with Text

    Here is the VBA code I currently use:

    Please Login or Register  to view this content.
    The cell contents (along with the command button disappear after selecting and works perfectly. I am trying to replace the cell contents with the text "confirmed". Probably an easy solution but I am new to VBA and still learning. Any help would be greatly appreciated.

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

    Re: Replace a disappearing command button with Text

    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 Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Replace a disappearing command button with Text

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Tacoma, Washingtonn
    MS-Off Ver
    Excel 2019
    Posts
    361

    Re: Replace a disappearing command button with Text

    Thank you mikerickson for your reply. This code works, but only for one cell. I have buttons in cells E4:E17. It only provides the "confirmed" response to E5. I have trying to figure out how to add the proper range but can't. Am I doing something wrong?

  5. #5
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Tacoma, Washingtonn
    MS-Off Ver
    Excel 2019
    Posts
    361

    Re: Replace a disappearing command button with Text

    Please disregard. I figured it out. Thank you so much 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. Incredible shrinking then disappearing command button captions???
    By jdunbarjr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2022, 03:26 PM
  2. Replies: 2
    Last Post: 02-02-2016, 10:27 PM
  3. VBA code to create command button. Print all sheets then delete command button.
    By Declamatory in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-15-2015, 05:18 PM
  4. [SOLVED] VBA replace text command to replace a formula with text
    By MikeSta4ord in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2015, 01:08 PM
  5. [SOLVED] Shape as a button to replace a Command Button which operates conditional format.
    By A440 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2015, 05:46 PM
  6. OnKey to replace command button
    By KJC in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2009, 09:07 PM
  7. Command Button Face is Disappearing
    By jasoncw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-07-2008, 10:46 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