Thread: [Solved] C# / vb.net & vba?
View Single Post
 
Old 02-04-2012, 02:12 AM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by tinfanide View Post
How about writing the codes (VB.NET / C#) in Visual Studio? Can VS control Office Application?
VS is a suite of programming environments, any of which can control Office. That's the whole point of the code snippets for the different programming languages that you see in MSDN.
Quote:
How about VB.NET? Does it need to pass the codes to strings and compile them?
If you mean "can I use C# in VB.NET?". That's no different to trying to use C# in VBA. As for controlling Office, see above reply.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote