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
  1. Home
  2. General Programming
  3. C#
  4. Ungroup Excel Column

Ungroup Excel Column

Scheduled Pinned Locked Moved C#
csharptutorial
2 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.
  • M Offline
    M Offline
    Mugdha_Aditya
    wrote on last edited by
    #1

    Hello, i have excel from which i need to read the data though c# code. Excel having groued columns so iam not able to read those columns. can any one tell me how to un group excel column and save tht changed excel. My code is as follwes which failed :( private void UnGroupRowsAndColumns(Workbook workbook) { Worksheet worksheet = workbook.Worksheets[0]; worksheet.Cells.UngroupRows(0, 9); worksheet.Cells.UngroupColumns(0, 1); }

    L 1 Reply Last reply
    0
    • M Mugdha_Aditya

      Hello, i have excel from which i need to read the data though c# code. Excel having groued columns so iam not able to read those columns. can any one tell me how to un group excel column and save tht changed excel. My code is as follwes which failed :( private void UnGroupRowsAndColumns(Workbook workbook) { Worksheet worksheet = workbook.Worksheets[0]; worksheet.Cells.UngroupRows(0, 9); worksheet.Cells.UngroupColumns(0, 1); }

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Please do not post to multiple forums. You have already received a response in the C++ forum for this exact question.

      It's time for a new signature.

      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