Closed Thread
Results 1 to 3 of 3

i want to have macro enabled drop downs in all rows...

Hybrid View

  1. #1
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Question i want to have macro enabled drop downs in all rows...

    I have this... (with a few more lines as well)
    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Address = "$A$20" Then
    Select Case Target.Value
    Case "000-101-7221"
    Call Macro000_101_7221
    Case "000-101-7521"
    Call Macro000_101_7521
    Case "000-101-7621"
    Call Macro000_101_7621
    Case "000-111-7521"
    End Select
    End If
    End Sub
    But what i want is to make this same code work for all rows, A20 to A45...
    Copy 2 of Packing Slip.xlsm

    VERY beginner at VBA... try to use easy terms
    Last edited by Legend Rubber; 10-01-2012 at 03:31 PM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: i want to have macro enabled drop downs in all rows...

    Hi Legend Rubber,

    Welcome to the forum.

    Please do not post duplicate threads.. another one is :-
    http://www.excelforum.com/excel-prog...tml?highlight=

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,043

    Re: i want to have macro enabled drop downs in all rows...

    Thank you DP.
    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Never use Merged Cells in Excel

Closed Thread

Thread Information

Users Browsing this Thread

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

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