+ Reply to Thread
Results 1 to 2 of 2

relative addressing in code

  1. #1
    Kim
    Guest

    relative addressing in code

    Given a properly formatted date and code of CurMonth = Month([A400]) how can
    I move the cell with date(A400) and have code follow change? I've tried many
    things -- none work.

    What am I missing?

    Thanks,

    Kim



  2. #2
    Bob Phillips
    Guest

    Re: relative addressing in code

    Name the cell (Insert>Name>Define ...), and use that name

    CurMonth = Month(Range("named_cell"))

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "Kim" <[email protected]> wrote in message
    news:[email protected]...
    > Given a properly formatted date and code of CurMonth = Month([A400]) how

    can
    > I move the cell with date(A400) and have code follow change? I've tried

    many
    > things -- none work.
    >
    > What am I missing?
    >
    > Thanks,
    >
    > Kim
    >
    >




+ 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