+ Reply to Thread
Results 1 to 2 of 2

reference range in other sheet

Hybrid View

  1. #1
    Diana
    Guest

    reference range in other sheet

    I would like to write a macro reference range. I have two sheets in the same
    workbook (sheet1 and sheet2). I know when you are trying to reference a cell
    in a different sheet you refer to sheet and cell (='Sheet2'!D1) but I am
    trying to reference range D1:D4 on sheet 2. Is there a way to do this?

    Many thanks
    Diana



  2. #2
    Gary''s Student
    Guest

    RE: reference range in other sheet

    Dim r as range
    set r=Worksheets("Sheet2").Range("D1:D4")
    --
    Gary's Student


    "Diana" wrote:

    > I would like to write a macro reference range. I have two sheets in the same
    > workbook (sheet1 and sheet2). I know when you are trying to reference a cell
    > in a different sheet you refer to sheet and cell (='Sheet2'!D1) but I am
    > trying to reference range D1:D4 on sheet 2. Is there a way to do this?
    >
    > Many thanks
    > Diana
    >
    >


+ 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