+ Reply to Thread
Results 1 to 3 of 3

Code to clear cell contents

  1. #1
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Code to clear cell contents

    Im looking for userform command button code to erase the contents of an active cell (with the offset 0, -5).
    I just want to clear the contents (I dont want to affect the formatting/color/borders etc of the cell)

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Code to clear cell contents

    Hi Nitefox,

    Try this:

    Please Login or Register  to view this content.
    Just bear in mind that it will only work from column F on.

    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Re: Code to clear cell contents

    Great, thank you.

+ 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. Code to clear contents of a cell based on specific criteria
    By srsev in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-21-2013, 01:38 PM
  2. VBA code to clear the contents (or value) of a cell without clearing the formula
    By BazzaBit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-10-2013, 08:16 PM
  3. [SOLVED] VBA code to automatically clear a cells contents when another cell is empty
    By masso1980 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-25-2012, 10:52 PM
  4. vba code to clear contents of cell
    By codesRus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2012, 12:16 PM
  5. Pop up activated on clear contents code
    By reggie1000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-20-2009, 07:19 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