+ Reply to Thread
Results 1 to 3 of 3

Indirect addressing

  1. #1
    Ken Rock
    Guest

    Indirect addressing

    Hi,
    I want to put a value into a cell pointed to by data in another cell.
    For example, assume cell D5 contains "C4" and I want to put "@@@@" into
    cell C4 by using VBA code referring to the contents of D5.
    I can apply the 'Indirect' approach when I use the Excel 2003 Worksheet
    Lookup Functions but what do I use in VBA?
    Thanks in advance,
    Ken Rock

  2. #2
    abcd
    Guest

    Re: Indirect addressing

    CHECK: you want to write in a cell known by its name (and this name is
    given into an other cell, D5 in your example)

    since you are sure the content of D5 is a cell name,
    you may use : Range(Range("D5").value)

  3. #3
    ken rock
    Guest

    Re: Indirect addressing


    Many thanks for your prompt response.
    It's just what I wanted!
    Ken Rock


    *** Sent via Developersdex http://www.developersdex.com ***

+ 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