VB Newb Please Help!

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

  1. Porty1119

    Porty1119 New Member

    Joined:
    Nov 4, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice