+ Reply to Thread
Results 1 to 16 of 16

Named ranges disappearing in XLXS file when emailed

  1. #1
    Registered User
    Join Date
    05-26-2011
    Location
    Brisbane
    MS-Off Ver
    Office 365
    Posts
    11

    Named ranges disappearing in XLXS file when emailed

    Hi all

    I have an issue where an Office 265 XLSX File with a number of named ranges (in Name Manager) is losing all these names when emailed and received by a certain company. Everything else about the file is fine, no issues, however all the named ranges disappear when the file is opened the other end resulting in bad references for data validations.

    I have never seen this before and suspect it may be to do with the email virus/spam checking software employed by the company.

    Has anyone come across this before? I tried emailing as a zip file however this did not resolve it.

    Thanks in advance.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,206

    Re: Named ranges disappearing in XLXS file when emailed

    Firstly, your profile says Excel 2003 - this needs updating to Office 365. Please do this NOW. Thanks.

    Please provide at least one example of a named range that goes missing - are these calculated named ranges?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Named ranges disappearing in XLXS file when emailed

    1. Please update your profile - you're not using 2003 any more.

    2. Are the end users using O365 as well? Same version?

    3. Are you using any of the newest functions in the Named Ranges?

    4. Do they vanish completely, or just stop working? Still in the Named Range List but showing as #REF or what?

    Can you post a sample sheet with at least one Named Range that "vanishes"?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    06-14-2023
    Location
    New York
    MS-Off Ver
    2013
    Posts
    2

    Re: Named ranges disappearing in XLXS file when emailed

    It helped me

  5. #5
    Registered User
    Join Date
    05-26-2011
    Location
    Brisbane
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Named ranges disappearing in XLXS file when emailed

    Hi, updated to Office 365 - thanks for pointing that out

    named ranges are not calculated and are all workbook scope

    An example is:

    Guidance_likelihood = Guidance!$A$81
    RiskMatrix = RiskMatrix!$B$3:$F$7

  6. #6
    Registered User
    Join Date
    05-26-2011
    Location
    Brisbane
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Named ranges disappearing in XLXS file when emailed

    Hi

    Profile updated - thanks for pointing that out

    End users are Excel 2016

    Named ranges are simple:

    Guidance_likelihood = Guidance!$A$81
    RiskMatrix = RiskMatrix!$B$3:$F$7

    They vanish - the named ranges editor is empty

    The sheet is also protected (VB, Structure and tabs)
    Attached Files Attached Files
    Last edited by antoineburdett; 06-19-2023 at 09:18 PM.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,206

    Re: Named ranges disappearing in XLXS file when emailed

    If this needs to work with Excel 2016, then that should be your profile entry.

    There are three named ranges in the workbook - A1 is NOT one of them.

    How are these files being E-mailed? What is being used to E-mail them?

    I have just E-mailed the workbook to myself and the three named ranges have remained intact. I have a virus checker that checks my E-mails.

    There is NO protection in your workbook and no VB - it's an .xlsx file.

    I suggest you share an .xlsm file that is showing the problem.

    EDIT: I don't have Excel 2016 to test with.
    Last edited by AliGW; 06-20-2023 at 12:54 AM.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Named ranges disappearing in XLXS file when emailed

    Is the file being sent ONLY to one group of end users (who happen to be using E 2016) or to a range of end users, using a range of Excel products. If the latter, is it ONLY the pre-O365 users who are experiencing problems?

    Could any of the VBA code be deleting cell rows/columns (including cells covered by the named ranges)?

  9. #9
    Registered User
    Join Date
    05-26-2011
    Location
    Brisbane
    MS-Off Ver
    Office 365
    Posts
    11
    Quote Originally Posted by AliGW View Post
    If this needs to work with Excel 2016, then that should be your profile entry.

    There are three named ranges in the workbook - A1 is NOT one of them.

    How are these files being E-mailed? What is being used to E-mail them?

    I have just E-mailed the workbook to myself and the three named ranges have remained intact. I have a virus checker that checks my E-mails.

    There is NO protection in your workbook and no VB - it's an .xlsx file.

    I suggest you share an .xlsm file that is showing the problem.

    EDIT: I don't have Excel 2016 to test with.
    Thanks. I am not sure why everyone is so concerned about Excel Versions in my profile. I deal with many different versions but personally use office 365.

    The example sheet is just a cut down version of the actual one with a few named ranges in tact. Yes it’s a xlsx not xlsm that is causing the issue. I may have confused when I said VB protected. It works fine for all
    People using any modern version of excel. If it is emailed to a particular organisation (they use 2016 but this is not the issue) and emailed back and I open it in 365 the references are gone. There is nothing special about the workbook. I was just wondering if someone has seen this behaviour before where it seems the file is losing references when being processed through email but it is only one organisation so expect it is email security software doing it.

  10. #10
    Registered User
    Join Date
    05-26-2011
    Location
    Brisbane
    MS-Off Ver
    Office 365
    Posts
    11
    Quote Originally Posted by Glenn Kennedy View Post
    Is the file being sent ONLY to one group of end users (who happen to be using E 2016) or to a range of end users, using a range of Excel products. If the latter, is it ONLY the pre-O365 users who are experiencing problems?

    Could any of the VBA code be deleting cell rows/columns (including cells covered by the named ranges)?
    Hi. Sorry. It’s just an xlsx with no VB. Nothing special.

    It doesn’t matter whether the file is opened in 2016 or 365. Same result. It is happening only after being received by email for a particular organisation

    I’m not expecting a resolution here just whether anyone has witnessed this before and may have thoughts

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Named ranges disappearing in XLXS file when emailed

    Keep your profile as O365!


    I've never seen this behaviour before. Same file different organisation = no problem, I assume...

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,206

    Re: Named ranges disappearing in XLXS file when emailed

    It doesn’t matter whether the file is opened in 2016 or 365.
    You implied it did, but if not, then leave your profile as it is, as Glenn said.

  13. #13
    Registered User
    Join Date
    05-26-2011
    Location
    Brisbane
    MS-Off Ver
    Office 365
    Posts
    11
    Quote Originally Posted by Glenn Kennedy View Post
    Keep your profile as O365!


    I've never seen this behaviour before. Same file different organisation = no problem, I assume...
    Correct. I expect is is email spam/security filtering that is corrupting the excel. It’s just interesting it’s only the named ranges

  14. #14
    Registered User
    Join Date
    05-26-2011
    Location
    Brisbane
    MS-Off Ver
    Office 365
    Posts
    11
    Quote Originally Posted by AliGW View Post
    You implied it did, but if not, then leave your profile as it is, as Glenn said.
    Thanks - was just indicting that the organisation this was emailed use 2016. Apologies for any confusion.

  15. #15
    Registered User
    Join Date
    02-11-2024
    Location
    Australia
    MS-Off Ver
    365
    Posts
    1

    Re: Named ranges disappearing in XLXS file when emailed

    I have seen this exact behaviour. It is extremely unusual and I suspect happens only on networks configured with an extreme level of security. I am trying to figure out exactly what function it is that causes the named ranges to be removed when emailed between domains.

  16. #16
    Registered User
    Join Date
    10-08-2013
    Location
    Zambia
    MS-Off Ver
    MS365 64-bit
    Posts
    20
    Hey, it's been ages, so I hope you got the answer to your question, but if not, I thought I'd chime in as well.

    You are correct, it is extreme security at the receiving end. I am working for an organisation that has the same thing (Excel 2016, and when you send or receive a workbook all macros and named ranges are stripped out). It's a royal PITA.

    Cheers
    Nico
    Last edited by 6StringJazzer; 02-11-2025 at 11:53 PM. Reason: do not quote entire posts just to add a post to the thread

+ 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] Can't delete named ranges - linking to other file
    By utm1996 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2022, 11:28 AM
  2. File very slow to open with named ranges
    By Excel4444 in forum Excel General
    Replies: 17
    Last Post: 09-30-2021, 01:49 PM
  3. Replies: 2
    Last Post: 08-25-2014, 03:37 PM
  4. [SOLVED] VBA - Open Excel Files with file path from Named Ranges
    By bbg22 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-06-2012, 11:41 PM
  5. Replies: 2
    Last Post: 01-10-2011, 01:15 AM
  6. Print multiple named ranges to one pdf file
    By joetoggs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-16-2010, 12:25 PM
  7. [SOLVED] Can Named ranges be used in file link formulae?
    By Philip J Smith in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2006, 08:30 AM

Tags for this Thread

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