Results 1 to 7 of 7

Clear All Dropdown Listindex

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-09-2014
    Location
    Kamnik, Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    693

    Clear All Dropdown Listindex

    Hi,

    I want to clear all contents of cells after completing macro for creating months. Range that needs to be cleared also contains dropdown shapes, which have code for inserting their values into cells under.

    I want to set all dropdown Listindex-es to blank (-1), so that all cells in desired range would really be cleared.

    Tried with this, but not working :

    dim dd as dropdown
    dim lngcounter3 as Long
    
    set dd= ActiveSheet.Dropdowns
    
    For lngcounter = 1 to 13
    dd.Listindex = -1
    next lngcounter
    What am I doing wrong ?

    See attached sample, and look at Clear_cells and Dropdown_Change macros !

    Thanks for help in advance !
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Auto-clear dependent dropdown when parent cell is changed
    By Ceekimmy in forum Excel - New Users/Basics
    Replies: 12
    Last Post: 10-03-2023, 02:01 AM
  2. [SOLVED] Auto Clear Multiple Dependant Dropdown Lists
    By Nexial in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-01-2014, 11:15 AM
  3. Clear cell contents based on value selected in a dropdown list
    By dpleventhal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2013, 04:45 PM
  4. Replies: 2
    Last Post: 06-10-2013, 09:41 AM
  5. Change cell from dropdown list and clear other cells in row
    By Dale Schultz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-25-2012, 09:30 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