Hi
Your tutorials are probably for Visual Basic, which is a standalone
programming suite where you can write standalone programs and other things,
or they are for Visual Basic.Net , which is a newer version of the same.
Excel and the rest of Office use a thing called Visual Basic for
Applications (aka VBA). VBA is mostly used to program and control the Office
applications, so the user interface and the available objects are different.
Languages are either the same (VB and VBA) or pretty similar (VB.Net) so
once you learn the basics, you can implement any code in any of these
applications. Excel is a great place to start programming, but I'd recommend
an Excel programming book for a start:
http://www.j-walk.com/ss/books/bookxl27.htm
HTH. Best wishes Harald
"john.jacobs71" <(E-Mail Removed)> skrev i melding
news:959E6E8D-D567-42A5-A776-(E-Mail Removed)...
> I am trying to build a very simple loop to compare columns of data in
excel.
> I am not an experienced programmer but I am trying to learn enough to
write
> this code. The problem is, none of the examples in online tutorials match
> the software menu options in the Visual Basic Editor I open through the
> tools/macro submenu. For example, the tutorial may recommend opening the
> file menu and selecting new program, but in the tutorial this option does
not
> even exist. Furthermore, any code I have attempted to write, even when it
is
> directly copied from very basic examples, crashes from syntax errors. Are
> there tutorials that match the Excel module of VB so that I can get
started??
>