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 / C++ / MFC
  4. Modification of xls file

Modification of xls file

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
3 Posts 3 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.
  • T Offline
    T Offline
    Thakur JAI SINGH
    wrote on last edited by
    #1

    I have created an excel file via code . I want to write data in the file for that I want to increase the size of cells via program and write some text bold format as per my requirement. How to do this?

    J F 2 Replies Last reply
    0
    • T Thakur JAI SINGH

      I have created an excel file via code . I want to write data in the file for that I want to increase the size of cells via program and write some text bold format as per my requirement. How to do this?

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      You can use Excel Automation (COM / OLE Dispatch) which requires an installed Excel (for examples see How to automate Excel from C++ without using MFC or #import[^], Automating Excel 2007 and creating charts using C++ MFC application in Visual Studio 2008[^], and MS Office OLE Automation Using C++[^]). If Excel is not present on the target machine you can use a library that supports the required operations (e.g. ExcelFormat Library[^] or commercial products like LibXL).

      1 Reply Last reply
      0
      • T Thakur JAI SINGH

        I have created an excel file via code . I want to write data in the file for that I want to increase the size of cells via program and write some text bold format as per my requirement. How to do this?

        F Offline
        F Offline
        ForNow
        wrote on last edited by
        #3

        I think courier new all the characters are the same width I'll read the doc Thanks

        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