Browse by Tags

All Tags » Excel (RSS)

How to Change the Active Printer to Specific Printer in Excel Using .NET and How the Heck Can I Find the Right Printer Name and Port Combination that Excel Wants?

A client of mine was having a problem trying to automate Excel to print to a specific (non default) printer. They know which printer they want to use, but are having trouble trying to get Excel to understand it. Excel’s Application.ActivePrinter property...
Posted by Jimmy Chandra | with no comments
Filed under: ,

Converting Excel Date to .NET DateTime

Needed this for a project. Couldn't figured out how to do it. After googling for sometime, found out how to convert Excel Date cell to .NET DateTime... DateTime.FromOADate(_Enter_Your_Excel_Date_Value_Here_) Silly thing :) Share this post: | | | |
Posted by Jimmy Chandra | with no comments
Filed under: , ,