Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1002743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:52:21+00:00 2026-05-16T07:52:21+00:00

I have some data that’s currently stored in an Excel workbook. It makes sense

  • 0

I have some data that’s currently stored in an Excel workbook. It makes sense for the data to be in Excel (in that it’s easy to manage, easy to extend, do calcs, etc.) but some of the data there is required by an automated process, so from that point of view it would be more convenient if it were in a database.

To give the information more visibility, workflow, etc. I’m thinking of moving it to SharePoint. Actually turning it into a SharePoint form would be tedious & time-consuming, and then the flexibility/convenience would be lost; instead, I’m thinking of simply storing the current Excel file within a SharePoint library.

My problem then would be: how can the automated process extract the values it needs from the Excel workbook that now lives within the SharePoint library? Is this something that Excel Services can be used for? Or is there another/better way? And even if it can be done, is it a sensible thing to do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T07:52:21+00:00Added an answer on May 16, 2026 at 7:52 am

    Having gone through something similar, I can tell you it actually isn’t that bad getting values out of an Excel file in a document library. I ended up writing a custom workflow action (used within a SharePoint Designer workflow) that reads values out of the Excel file for processing. I ended up choosing NPOI to handle all of the Excel operations.

    Using NPOI, you can do something like this:

    // get the document in the document library
    SPList myList = web.Lists[listGuid];
    SPListItem myItem = myList.GetItemById(ListItem);
    SPFile file = myItem.File;
    
    using (Stream stream = file.OpenBinaryStream())
    {
        HSSFWorkbook workbook = new HSSFWorkbook(stream);
        HSSFSheet sheet = workbook.GetSheet("Sheet1");
        CellReference c = new CellReference("A1");
        HSSFRow row = sheet.GetRow(c.Row);
        HSSFCell cell = row.GetCell(c.Col);
        string cellValue = cell.StringCellValue;
    
        // etc...
    }
    

    You could easily put this in a console application as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some data that I want to store somewhere in my Rails app
We have some input data that sometimes appears with &nbsp characters on the end.
I have some configuration data that I'd like to model in code as so:
I have some data. I want to go through that data and change cells
I have some scientific image data that's coming out of a detector device in
I have a file which is an XML representation of some data that is
I have some existing code that retrieves data from a database using ADO.NET that
I have a Rails app that will post some data to another Rails app.
I have created an application that writes some data to the root folder of
I have a class 'Data' that uses a getter to access some array. If

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.