+ Reply to Thread
Results 1 to 4 of 4

clear selection in cells across multiple columns

Hybrid View

bqheng clear selection in cells... 10-30-2013, 09:55 PM
Winon Re: clear selection in cells... 10-30-2013, 11:16 PM
bqheng Re: clear selection in cells... 10-31-2013, 12:42 AM
Winon Re: clear selection in cells... 11-01-2013, 12:15 PM
  1. #1
    Forum Contributor
    Join Date
    05-06-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    361

    clear selection in cells across multiple columns

    Hi, I have this worksheet that creates folders automatically through macro. User will select the sub folders that they want created by clicking on "Create" next to the number. I would like to have a "Clear Selection" button that will clear the selection after user executes the command.

    I have tried using Range("J3:J32").ClearContents, but I get error message.

    Attached is the file
    Attached Files Attached Files

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: clear selection in cells across multiple columns

    Hello bqheng,

    Unprotect the Sheet. Unlock the Cells in Column J, and then when you protect the sheet, allow (or check) the Format cells option.

    Regards
    Last edited by Winon; 10-30-2013 at 11:22 PM.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Contributor
    Join Date
    05-06-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    361

    Re: clear selection in cells across multiple columns

    Hi Winon, thanx for the help!!

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: clear selection in cells across multiple columns

    Hello bqheng,

    You are welcome.

    Glad I could help.

    If you are satisfied with the solution I had given you, then please mark your Thread as Solved.

    You may also Click on the Star to the far left, at the bottom of this Post, to Add Reputation.


    Regards

+ 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. Make same selection for multiple drop down list and clear all for all dropdown list
    By salomip13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2014, 01:34 PM
  2. Replies: 1
    Last Post: 08-23-2012, 07:38 PM
  3. Replies: 3
    Last Post: 02-11-2009, 10:17 AM
  4. Clear multiple cells
    By rkaiser in forum Excel General
    Replies: 3
    Last Post: 11-10-2006, 07:26 AM
  5. How to automatically clear cells upon changing/making selection?
    By Ingeniero1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-17-2006, 04:50 PM

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