+ Reply to Thread
Results 1 to 8 of 8

Find string and offset copy

Hybrid View

  1. #1
    Registered User
    Join Date
    06-06-2007
    Location
    NYC, NY
    Posts
    66

    Exclamation .value vs link?

    What if instead of the value to be the same you wanted it to ref the other cell like =A1 not the value of A1.

    ~RUTH~

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Try this, untested:

    Sheets("Tool").Range("D10").Formula = "=" & Sheets("data").Cells.Find("zip").Offset(0, 1).Address

  3. #3
    Registered User
    Join Date
    06-06-2007
    Location
    NYC, NY
    Posts
    66

    Unhappy Nope

    No that didn't do it. Instead it gave me an =$B$8 as text and also that ref that sheet not the sheet it came from. So even if it wasn't text the formula is wrong.

    ~RUTH~

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    As I also say. Post the file and tell us your expected result

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ Reply to 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