+ Reply to Thread
Results 1 to 5 of 5

HELP PLS! How to erase the content of an InputBox without For Each

  1. #1
    Registered User
    Join Date
    08-10-2018
    Location
    Rio de Janeiro, Brasil
    MS-Off Ver
    2013
    Posts
    13

    HELP PLS! How to erase the content of an InputBox without For Each

    Hi!

    I would like to know if there is any way to erase the content of an InputBox inside a selection WITHOUT USING FOR EACH (when i used, the macro was veeery slow for big selections).

    Thanks in advance!

    example:
    Capture.JPG
    Attached Images Attached Images

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: HELP PLS! How to erase the content of an InputBox without For Each

    Can you just do a find and replace on the range?

  3. #3
    Registered User
    Join Date
    08-10-2018
    Location
    Rio de Janeiro, Brasil
    MS-Off Ver
    2013
    Posts
    13

    Re: HELP PLS! How to erase the content of an InputBox without For Each

    Actually this is what I have to do everytime a want to erase..... LOCATE / SELECT ALL / DELETE THE CONTENT / TAKE OFF THE COLOR

    But I do it a lot of times...I want to save some time, this is why i want to do it by VBA...

  4. #4
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: HELP PLS! How to erase the content of an InputBox without For Each

    Maybe attach a workbook showing before and after what you are trying to achieve.

    Go Advanced -> Manage Attachments -> Upload

    Try and use the same layout and real-world data (desensitised) in your sample.

  5. #5
    Registered User
    Join Date
    08-10-2018
    Location
    Rio de Janeiro, Brasil
    MS-Off Ver
    2013
    Posts
    13

    Re: HELP PLS! How to erase the content of an InputBox without For Each

    Hi!

    I Have attached an example with the objective and before / after.

    Thanks for your help!!
    Attached Files Attached Files

+ 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. Macro to erase all content except for Frozen Pane
    By namy77 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-19-2017, 10:43 AM
  2. [SOLVED] MACRO: If user clicks cancel in inputbox,then do nothing. Problem with inputbox appearance
    By Tona in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-05-2015, 04:33 AM
  3. [SOLVED] How to set a restriction for the content input in Inputbox
    By qzqzjcjp in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-15-2014, 08:27 PM
  4. [SOLVED] button erase dont erase an image inserted on an image control
    By Nuno Neves in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-11-2014, 08:04 AM
  5. [SOLVED] Erase the content of cells with a particular formula
    By Saturn in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-06-2014, 04:03 PM
  6. Inputbox button control + msgbox for empty inputbox
    By D_Rennie in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-30-2009, 12:39 PM
  7. how to erase the full content of a sheet
    By Maileen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2006, 08:20 AM

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