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. merged cell aoto fit in c# [modified]

merged cell aoto fit in c# [modified]

Scheduled Pinned Locked Moved C#
csharphelpquestion
3 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.
  • N Offline
    N Offline
    Nilish
    wrote on last edited by
    #1

    I am writing a program in that populates an Excel spreadsheet. I know that it is not possible to have autoheight or autofit on merged cells. I need the height of the row to expand to fit an undetermined amount of text. I wonder if anyone has code to get around this problem. I need to find a way to get around this problem and fast. Anyone found a way around it?

    modified on Wednesday, October 15, 2008 5:00 AM

    M 1 Reply Last reply
    0
    • N Nilish

      I am writing a program in that populates an Excel spreadsheet. I know that it is not possible to have autoheight or autofit on merged cells. I need the height of the row to expand to fit an undetermined amount of text. I wonder if anyone has code to get around this problem. I need to find a way to get around this problem and fast. Anyone found a way around it?

      modified on Wednesday, October 15, 2008 5:00 AM

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      You really have you languages screwed up. Title C#, content VB.net, target VBA. The cell will have a wrap text property which you will need to set.

      Never underestimate the power of human stupidity RAH

      N 1 Reply Last reply
      0
      • M Mycroft Holmes

        You really have you languages screwed up. Title C#, content VB.net, target VBA. The cell will have a wrap text property which you will need to set.

        Never underestimate the power of human stupidity RAH

        N Offline
        N Offline
        Nilish
        wrote on last edited by
        #3

        wrapped property for merged cell is set. still not showing the hidden part.

        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