Consulting

Results 1 to 5 of 5

Thread: How to match the value of active cell with other value cell

  1. #1

    Question How to match the value of active cell with other value cell

    What is the code to match the value of active cell with other value cell in all workbook
    I mean :
    Example for one cell
    [vba]If ActiveCell.Value = Cells(1, 3).Value Then MsgBox "Yes"[/vba]

    I want to check for all cells in workbook

    [vba]If ActiveCell.Value = "any cells.Value in workbook" Then MsgBox "Yes"[/vba]

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    A multiple sheet workbook, or just the single sheet?
    ____________________________________________
    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

  3. #3

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Then how are we supposed to?
    ____________________________________________
    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

  5. #5
    I'm so sorry because I was rush and couldn't understand .

    A multiple sheet workbook

Posting Permissions

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