Consulting

Results 1 to 3 of 3

Thread: Solved: Identify column number from address

  1. #1

    Solved: Identify column number from address

    Hello,
    Could someone help me to find out how to identify column number from address.

    Set FC = Rows(1).Find("NAME")
    If Not FC Is Nothing Then
    Str1 = FC.Address
    ( Q: How to identify Column from Str1? )
    End If

    Thanks.

    Mohd Azrie
    Bt Pahat, Johor, Malaysia.

  2. #2
    Administrator
    Chat VP
    VBAX Guru johnske's Avatar
    Joined
    Jul 2004
    Location
    Townsville, Australia
    Posts
    2,872
    Location
    str1 = FC.Column
    You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you

    The major part of getting the right answer lies in asking the right question...


    Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.

  3. #3
    Thank you John.....

    Mohd Azrie
    Bt Pahat, Johor, Malaysia.

Posting Permissions

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