+ Reply to Thread
Results 1 to 3 of 3

VBA Code to clear contents

  1. #1
    Registered User
    Join Date
    02-05-2016
    Location
    nottingham
    MS-Off Ver
    7
    Posts
    13

    VBA Code to clear contents

    Hi Guys,

    I'm trying to make this this code work any ideas as the first part seems to work fine the second half doesnt

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

    Cheers
    Last edited by alansidman; 02-19-2016 at 10:04 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: VBA Code to clear contents

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: VBA Code to clear contents

    You can only have one worksheet change event per worksheet. Are these both in the same worksheet?

+ 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. VB Code to clear contents
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-04-2014, 01:35 AM
  2. [SOLVED] Code to clear cell contents
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 12-15-2013, 10:29 PM
  3. Clear contents at start of code
    By Ravenous in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-25-2013, 08:39 PM
  4. Code to Clear Contents if values is zero
    By chico.corrales in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2013, 08:04 PM
  5. 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
  6. Code to clear multiple contents
    By ABSTRAKTUS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-24-2012, 02:13 PM
  7. 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