+ Reply to Thread
Results 1 to 3 of 3

refer from worksheet_change event to workbook named range

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    refer from worksheet_change event to workbook named range

    Hi Guys,

    i am on worksheet_change event and i want to refer to workbook scope named range but there is an error:

    Screenshot_7.png

    how can i do this?

    Best,
    Jacek

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,998

    Re: refer from worksheet_change event to workbook named range

    A workbook doesn't have a Range property. Use Application.Range instead, or Activeworkbook.names("S_protectworkbook").referstorange.value
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: refer from worksheet_change event to workbook named range

    ok thank you!

+ 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. [SOLVED] Refer to named range in different, closed workbook
    By frsaxon in forum Excel General
    Replies: 4
    Last Post: 07-26-2018, 07:25 PM
  2. Check First, if range have then skip the worksheet_Change Event
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-23-2017, 09:28 AM
  3. Refer to a Workbook level named range
    By ptownbro985 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2014, 06:02 PM
  4. Named Ranges that refer to all of workbook
    By dta1984 in forum Excel General
    Replies: 13
    Last Post: 01-06-2012, 12:20 PM
  5. VBA Refer to named range in different workbook
    By globalpontoon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-07-2010, 03:20 AM
  6. Using Named Range in Worksheet_Change event
    By Barb Reinhardt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2006, 04:25 PM
  7. [SOLVED] named range ?::how to I refer to current workbook without using its name?
    By Rajni R in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 07:05 AM

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