Giter VIP home page Giter VIP logo

Comments (3)

paaresh avatar paaresh commented on May 14, 2024

has it been solved? or not entertaining the issue?

from epplus.

giuliohome avatar giuliohome commented on May 14, 2024

I have an xlsm file with this issue.
It has many sheets and many pivot tables: how can I programmatically check of a pivot table is not ok?
Thank you

from epplus.

phillyDrew avatar phillyDrew commented on May 14, 2024

i spent a chunk of time wracking my brain over this.. in one script task i delete a template worksheet, referencing the spreadsheet by name. in another script task i get a null pointer exception when attempting to reference a different worksheet by name.

after literally scouring my statements for syntax or logic issue, i came to the deduction that there must be something else going on.

on a hunch... i commented out the delete portion, and then it ran ok... then uncommented it out and moved it after the one that was previously erroring.

it's gotta be something with how EPPLUS accesses and modifies the internal excel worksheet indexing, even though in my case the calls to open and individual variable assignments were by using string literals of named worksheets in completely different script tasks.

if i can advise, try not to delete anything until the very end, after all of the references are completed.

hope that helps anyone else

from epplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.