Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-01-2012, 07:17 AM
tinfanide tinfanide is offline C# / vb.net & vba? Windows 7 64bit C# / vb.net & vba? Office 2010 32bit
Expert
C# / vb.net & vba?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default C# / vb.net & vba?

I started learning coding in the Office environment with VBA. I know it stands for Visual Basic for Application. As long as getting along with Windows, I started learning some VB.NET but always wonder why in every MSDN VBA reference page, there must be VB, C#, F#... code demostration.

Is VBA VB? I found they have some style differences:
Code:
' VBA
Dim var As Object
Set var = obj

'VB.NET
Dim var As Object = obj
' No "set" (to the best of my knowledge) in VB
And can I use C# in VBE, the VBA editor?


Or can I control Office Applications in C# in Visual Studio or just simply on Notepad and compile the codes in DOS?
Reply With Quote
 



Other Forums: Access Forums

All times are GMT -7. The time now is 09:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft