Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SSIS: How can you read data from hidden Excel worksheets using SSIS?

SSIS: How can you read data from hidden Excel worksheets using SSIS?

Scheduled Pinned Locked Moved Database
sql-serverquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Red_Wizard_Shot_The_Food
    wrote on last edited by
    #1

    I'm trying to write an SSIS package that will read data from 3 hidden sheets in a workbook. The idea is that other departments can input data into 3 non-hidden sheets, that have a user friendly layout along with instructions and examples, etc. And the 3 hidden sheets then take this data and hold it in a basic table format with a single header row. To simplify importing we want to just read the data from these hidden sheets... but a SSIS's standard Excel connection / Excel Source can't seem to see these hidden sheets. Is there a way to get SSIS to see these hidden sheets without making them visible in the workbook itself? Thanks.

    W 1 Reply Last reply
    0
    • R Red_Wizard_Shot_The_Food

      I'm trying to write an SSIS package that will read data from 3 hidden sheets in a workbook. The idea is that other departments can input data into 3 non-hidden sheets, that have a user friendly layout along with instructions and examples, etc. And the 3 hidden sheets then take this data and hold it in a basic table format with a single header row. To simplify importing we want to just read the data from these hidden sheets... but a SSIS's standard Excel connection / Excel Source can't seem to see these hidden sheets. Is there a way to get SSIS to see these hidden sheets without making them visible in the workbook itself? Thanks.

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      When referring to the worksheet, try using syntax (with correct path): ...\MyExcelWorkbook.xls![Some hidden worksheet]

      The need to optimize rises from a bad design.My articles[^]

      R 1 Reply Last reply
      0
      • W Wendelius

        When referring to the worksheet, try using syntax (with correct path): ...\MyExcelWorkbook.xls![Some hidden worksheet]

        The need to optimize rises from a bad design.My articles[^]

        R Offline
        R Offline
        Red_Wizard_Shot_The_Food
        wrote on last edited by
        #3

        Thank you, that looks like it may be halfway to working.... now I'm getting a message about the source being read-only when I try to do anything with my Excel Source object now :( There is no password protection, currently on the workbook or the sheets.

        W 1 Reply Last reply
        0
        • R Red_Wizard_Shot_The_Food

          Thank you, that looks like it may be halfway to working.... now I'm getting a message about the source being read-only when I try to do anything with my Excel Source object now :( There is no password protection, currently on the workbook or the sheets.

          W Offline
          W Offline
          Wendelius
          wrote on last edited by
          #4

          Red_Wizard_Shot_The_Food wrote:

          now I'm getting a message about the source being read-only

          Red_Wizard_Shot_The_Food wrote:

          There is no password protection, currently on the workbook or the sheets

          Is the file read-only? If it is, could you remove that. Another possibility could be that it resides in a directory where you don't have write privileges or at file level, perhaps you don't write privilege to the file.

          The need to optimize rises from a bad design.My articles[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups