Andrew Ducker (andrewducker) wrote,
Andrew Ducker
andrewducker

I don't know how I got any work done before the internet

I was writing something to automatically produce an Excel report on our DB2 usage, and I wanted to automatically resize the columns. A quick google for excel autosize columns c# and the second hit told me the answer was "Worksheet.UsedRange.Columns.AutoFit();"

I could go and try and find the answer via the help files, but I suspect I'd be looking for a while. Google really is my best friend when coding. Well, that and Resharper.
Subscribe

  • Interesting Links for 16-09-2021

    On doing your own vaccine research (tags: vaccine research comic ) Who talks more in your meetings - men or women? (tags: talking gender…

  • Interesting Links for 15-09-2021

    The NHS in Scotland: Your gran might be lying on the floor for 10 hours (tags: scotland nhs pandemic doom ) Edinburgh Council are having a…

  • Interesting Links for 14-09-2021

    Hands-on with Facebook's first smart glasses (tags: transparentsociety glasses cameras facebook ) UK's Chief Medical Officers Give Green…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 4 comments