+ Reply to Thread
Results 1 to 3 of 3

Deleting value from 1st cell effects named range

  1. #1
    Registered User
    Join Date
    01-23-2014
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    79

    Deleting value from 1st cell effects named range

    If i run a macro delete the rows for specific values then it is effecting my named range too. like if i delete
    value at cell N2 for range "=OFFSET(Data!N2,0,0,COUNTA(Data!$N:$N),1)" then it is giving me #Ref error for that cell in named range - "=OFFSET(Data!#REF!,0,0,COUNTA(Data!$N:$N),1)". So how can i set N2 for evrytime automatically rather doing it manually every time.

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Deleting value from 1st cell effects named range

    Hello tanvi_kalra,

    Easy. Just Place your Named Range on another Sheet, problem solved.

    Regards
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Registered User
    Join Date
    01-23-2014
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: Deleting value from 1st cell effects named range

    But i need that named range for that particular sheet only.. and need to use it again and again.

+ 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. Deleting rows in between a named range
    By shanecb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-06-2013, 12:15 PM
  2. Help with automating deleting blank rows in a named range
    By spanna2000 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-20-2012, 01:57 PM
  3. Adding rows to named range and deleting them
    By Djwill in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-15-2012, 02:56 PM
  4. Selecting and deleting named range based on cell value
    By Rich Kniatt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2006, 03:04 PM
  5. how do i maintain named range addressing after deleting row?
    By erp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-30-2005, 09:55 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