+ Reply to Thread
Results 1 to 3 of 3

Change Named Range Value from formula to Value

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

    Change Named Range Value from formula to Value

    Hi Guys,

    I have named ranged VarTest with Value =
    Please Login or Register  to view this content.
    And this named range hides array of values:

    Przechwytywanie.PNG

    Problem is that field Value assigned to VarTest in Name Manager is marked as {...}:

    Przechwytywanie2.PNG

    Problem is that Java code doest see this.

    When i have pure value there, for example: 5 or "Azor" it will read this.

    Question is how to assign to value field caculated result?
    To have result like:
    Please Login or Register  to view this content.
    or array of values there?

    I thoutg maybe looping through each named range and change value fields using VBA?
    So check if Value = {...} and change it for result.

    Please help,
    Best,
    Jacek
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Change Named Range Value from formula to Value

    Jacek

    How is the named range being referred to in the Java code?
    If posting code please use code tags, see here.

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

    Re: Change Named Range Value from formula to Value

    hi Norie,

    i am newbie in JAva but my developer is using POI APACHE and code is:

    var.png

    sorry i cant input code directly bvecause of firewall on our forum.

    Best,
    Jacek

+ 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] Why can't i change scope of named range within name manager?
    By jaryszek in forum Excel General
    Replies: 16
    Last Post: 01-24-2024, 09:45 AM
  2. Replies: 0
    Last Post: 03-08-2016, 02:25 PM
  3. [SOLVED] Need a code or formula that will automatically change the named range in my formulas
    By mo4391 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2013, 11:24 AM
  4. Change a range to a named selection
    By The Dropper in forum Excel General
    Replies: 2
    Last Post: 04-09-2010, 05:26 PM
  5. Macro code to change cell range to named range
    By Orlic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2008, 11:51 AM
  6. Change event triggered by a named range
    By Sean in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-31-2005, 10:05 PM
  7. Change Event on a named range
    By GregR in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2005, 05: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