+ Reply to Thread
Results 1 to 4 of 4

named range from sheet1 to range starting from cell in sheet10

  1. #1
    Forum Contributor
    Join Date
    11-05-2013
    Location
    Germany
    MS-Off Ver
    Excel 2013
    Posts
    120

    named range from sheet1 to range starting from cell in sheet10

    Hi,


    I feel kinda stupid for asking this but I cannot find anything that helps on Google and I always get an error when I try the named range.

    This one works:

    Please Login or Register  to view this content.

    But I want to copy a named range from sheet1 to sheet10 Starting from the specified cell.



    Please Login or Register  to view this content.
    I thought that maybe the named range does not need a sheet in front because it is included

    Please Login or Register  to view this content.
    but thats not working either. (to add .value did not change it either)


    I read that the method of activating and selecting sheet and range --> copy --> activate other sheet paste values would work but I to set range = should be more efficient and better for performance right?

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: named range from sheet1 to range starting from cell in sheet10

    Hello Decar,

    Named ranges can be one of two types:Local or workbook. If it is local then the named range must be prefaced with the worksheet name, like sheet10.Range("named_range"). Otherwise, you would use Range(named_range").

    Ranges can be a single cell or multiple cells. Your example that works assigns a single cell value to another single cell. If you try to assign multiple cells to each other this way or multiple cells to a single cell, it will fail.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    11-05-2013
    Location
    Germany
    MS-Off Ver
    Excel 2013
    Posts
    120

    Re: named range from sheet1 to range starting from cell in sheet10

    Thanks Leit,


    so basically I have to now how big the range is for my named range. My problem is now that my named range is a dynamic range and will always be different. Is there a possibility to get the row size and column size of the named range and then transfer those to another sheet?

    my perfect solution would be that the named range gets copied to another sheet

  4. #4
    Forum Contributor
    Join Date
    11-05-2013
    Location
    Germany
    MS-Off Ver
    Excel 2013
    Posts
    120

    Re: named range from sheet1 to range starting from cell in sheet10

    Yay, I got to a solution knowing how the ranges have to be :D


    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Graphing Dynamic Named Ranges, starting one range in the middle of X-Axis
    By Packerbacker in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-11-2013, 07:21 AM
  2. Replies: 2
    Last Post: 08-31-2013, 03:15 PM
  3. named range to load Sheet1 from Sheet2?
    By e2Excel in forum Excel General
    Replies: 3
    Last Post: 06-18-2013, 02:23 PM
  4. Replies: 6
    Last Post: 10-14-2009, 03:01 AM
  5. [SOLVED] If any cell in named range = 8 then shade named range
    By JJ in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-26-2005, 07:05 PM

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