Consulting

Results 1 to 5 of 5

Thread: Help:Just some clarification...

  1. #1

    Help:Just some clarification...

    I have read some where something like:
    • Worksheet_SelectionChange(ByVal Target As Range)
    • Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
    • Worksheet_Change(ByVal Target As Range)

    Please, anyone help me in telling what is the default name (the name rule) for sub in worksheet so excel can understand it's an event code?


    When reading help in VBA, they just show me the last bullet code --> Worksheet_Change(ByVal Target As Range)
    Last edited by yurble_vn; 07-16-2007 at 11:09 AM.

  2. #2
    BTW, Any relative subject, event subject... is also appreciated. I'm very new to VBA. Pls help in sharing

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  4. #4
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    The easiest way to make sure you get the correct syntax is to use the dropdowns in the VBE.

  5. #5
    many thanks, you all are so kind

Posting Permissions

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