Hello world!

February 24th, 2007

This is my first post on this blog. Just like many programming language tutorials, I thought a 'Hello, World' sample program might be a good one.

Hello, World from Excel

This is a very simple Excel workbook that pops a 'Hello, World' message:

Sub Auto_open()
MsgBox "Hello, World!", vbInformation, "Message from Excel"
End Sub

Download the file here.

Hello, World from Visual Basic

Now, here's a very simple Visual Basic 2005 Express project that pops a 'Hello, World' message.

Sub Main()
MsgBox("Hello, World!", MsgBoxStyle.Information, "Message from Visual Basic")
End Sub

Download the project here

Posted in Excel, Visual Basic | No Comments




No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment



(C) by Virgilio Adriano. All rights reserved. Powered by WordPress.
Entries and comments feeds.
It took 0.329 seconds to load this page.