1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VB Newb Please Help!

Discussion in 'Visual Basic ( VB )' started by Porty1119, Nov 4, 2010.

  1. Porty1119

    Porty1119 New Member

    Nov 4, 2010
    Likes Received:
    Trophy Points:
    Hi y'all!

    I'm Porty and I'm new here. I've been reading up a bit about various VB_driven microcontroller projects as well as macros, and am trying to teach myself a bit. I've been working on a simple looped typing macro but can't seem to get the hang of it. Can someone please point out any errors in the code I've written?

    Sub Loop_Good_Morning()
    ' Loop_Good_Morning Macro
    ' Types Good Morning repeatedly
    'counter =1000
    'Do while counter =1000
    'Selection.TypeText Text:="Good Morning. "

    End Sub

Share This Page