Results 1 to 2 of 2

Thread: [RESOLVED] Call Macro by Entering Text

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2009
    Posts
    10

    Resolved [RESOLVED] Call Macro by Entering Text

    I want to create a macro that will be called when I input a certain word into a cell. (Actually, the text will be entered using a validation list.)

    Here is the code that I have, but it doesn't do anything.
    Code:
    Private Sub WorkSheet_Change(ByVal Target As Range)
    Select Case Target.Address
          Case "$A$2"
                Select Case Target
                     Case "Partsbook"
                          Call Partsbook
                     Case "RPL"
                          Call RPL
                     Case "O& MM"
                          Call OMM
                     Case Else
                 End Select
          Case Else
    End Select
    End Sub

  2. #2

    Thread Starter
    New Member
    Join Date
    Mar 2009
    Posts
    10

    Re: Call Macro by Entering Text

    Okay, I figured it out... I was entering the text in the wrong cell. Oops! Sorry, My Mistake!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width