INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Excel: .xls File UDF Does Not Show Value on Newer Computers (Win 10 / Excel 2016)

Excel: .xls File UDF Does Not Show Value on Newer Computers (Win 10 / Excel 2016)

Excel: .xls File UDF Does Not Show Value on Newer Computers (Win 10 / Excel 2016)

(OP)
I cannot seem to find any evidence that this should be a version specific issue, but at first glance, it appears that way. Let me first point out I was able to correct the issue for now on an adhoc basis, but I'd like to prevent it from happening in the future.

Here are the different details that I am aware of:
  • xls file created from a "template" - I use "template" loosely because thus far we have not used actual template files here - something I hope to change one day.
  • When the file was opened on a machine running Windows 7 and Excel 2010, the UDF showed values correctly in cells where used.
  • When the file was opened on 3 machines each running Windows 10 and Excel 2016, the UDF showed #VALUE.
  • I corrected the immediate issue by selecting one cell involved in the calculations for each row of data and saved the file (using Windows 10 and Excel 2016).
  • The calculations in the UDF previously were correct in some instances, and I corrected the UDF sometime in the last 6 months.
  • The code in the UDF produces no errors, just does not always show values for some reason? (It does at each opening since I last corrected it as mentioned above).
  • I found the mention of the Application.Volatile line that can be added to UDFs, but I am not certain that by itself would correct the issue.
Any ideas as to what would cause such an issue, and what the best methods to correct it would be?

"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57

RE: Excel: .xls File UDF Does Not Show Value on Newer Computers (Win 10 / Excel 2016)

Hi,

I can't duplicate this on in Windows 10, Office 2013, workbook with UDF saved as .xls.

Can you get more specific?

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

RE: Excel: .xls File UDF Does Not Show Value on Newer Computers (Win 10 / Excel 2016)

(OP)
Sorry. That's about as much as I know so far. It doesn't do it on all workbooks, and they basically all have at least a handful of UDFs that run with various calculations. It makes no sense to me so far. I haven't read or heard of this before. I'll keep digging. For the meantime, the lady who uses this all the time uses Windows 7 anyway. The problem arose when a couple managers running Windows 10 couldn't open the file. So it'll come up again if it's a true issue and not a one-off oddity. I've got another oddity also seemingly related to Excel 2010 vs Excel 2016 and/or Win7 vs Win10. If I have a bright moment and sort it out or think of some other details I can share to help, I'll be sure to share. Thanks for taking a look. smile

"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57

RE: Excel: .xls File UDF Does Not Show Value on Newer Computers (Win 10 / Excel 2016)

(OP)
Update that I didn't mention earlier:

For the time being, I wrote a short macro that basically selects each cell with the problematic formula. Once that is done it APPEARS to work correctly in all instances - so far as I know. But I'll hopefully find time from other items to do further testing and find the source problem.

"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57

RE: Excel: .xls File UDF Does Not Show Value on Newer Computers (Win 10 / Excel 2016)

Security / Trust settings issue?

Opened from local drive vs network vs email attachment make any difference in behavior?

RE: Excel: .xls File UDF Does Not Show Value on Newer Computers (Win 10 / Excel 2016)

(OP)
Well, this has not happened prior to Windows 10 / Excel 2016. It has run fine at least up through Windows 7 / Excel 2010. I doubt it's an issue in that regard. Also, the issue corrects itself when cells related to a given formula are selected, which also seems to point away from it being security/trust issue. And it's somewhat hit and miss.

Strange thing - I just got a call about another Excel workbook this morning that had the same issue for 2 or 3 out of about 15 cells in one column. I fixed it by unprotecting the worksheet, selecting the cells with formulas showing errors then reprotecting the worksheet.

Definitely something I intend to keep investigating to get to the bottom of it.

As far as local vs network drive: that isn't optional for this process. It requires use over the network, as it goes through a process of data entry / multiple review steps. There are no email attachments involved, as it's a network driven process.

Thanks for thinking about it, though. Any brainstorming could end up proving helpful.

"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close