VB .Net vs. VBA

cocojojo

Board Regular
Joined
Aug 14, 2009
Messages
61
Dear Developers,

I'm right on the cusp of learning new programing languages- pretty comfortable with all complex in-cell function, started writing a few VBA macros to do some trickier things. I recently met with a colleague of mine who is much more involved with software development to discuss further applications of VBA in Excel and he suggested that since I am more or less a blank canvas, I should invest my time learing VB .Net instead.

Right now I work exclusively in Excel, but I guess the goal is for that to change in the future. I would appreciate your opinions on this issue as well as comments regarding the use of VB .Net with Excel.

Thanks
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Hi cocojojo,

This is just an opinion, but I would suggest that you stick with VBA for your standard development with Excel. Using .NET is definitely the next step, but it makes your Excel development much harder.

Using .NET has many advantages, mostly regarding strong-typing, but VBA has enormous advantages over .NET when it comes to deployment. VBA is also an easier language to start out with, especially for working with Excel, which has many members that do not have strong typed return values.

Overall, I would suggest that you use VBA for your day-to-day development, but learn VB.NET or C# on the side so that your programming skills can grow outside of the Excel arena. Eventually, your .NET skills can become strong enough so that you will prefer to use it over VBA, but you will have to become pretty good at .NET for that day to come.

Just my 2c...
Mike
 
Upvote 0
Why not learn the basic concepts of programming?

You could then apply them whatever language you want/need to use as well as using the specifics for that language.:)
 
Upvote 0

Forum statistics

Threads
1,225,483
Messages
6,185,263
Members
453,284
Latest member
osy25

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top