Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What supports Excel better ? ( VB.net or C#.net ?? )

I need to implement reporting.. with Excel sheets and need a lot of heavy excel workings.. So..

I have two options.. C#.net or VB.net !!

What would be more closer to EXCEL ? What would provide me more excel api's and more control ?

Please Help !!

like image 442
Yugal Jindle Avatar asked Dec 04 '25 22:12

Yugal Jindle


2 Answers

Both C# and VB.NET allow you to write code that targets .NET equally well. You can use either language to work with the Excel interop libraries. There really is no advantage to one language over the other for working with Excel.

like image 98
Reed Copsey Avatar answered Dec 06 '25 12:12

Reed Copsey


C# and vb.net are both .net languages so they would give you equal access to any excel/office APIs since anything that can be linked to C# also could be linked to vb.net

vb is closer to thr vba language used in excel macros, but personally I would always prefer C#. If you are used to vba vb.net would probably be the right choice for you since you then know the syntax.

like image 24
faester Avatar answered Dec 06 '25 12:12

faester



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!