Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Debug.print not working

  1. #1
    New Member
    Join Date
    Feb 2002
    Location
    Belgium
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hello,
    I have the following procedure:

    Sub fgj()
    Dim s As String
    s = "Hello"
    Debug.Print s
    End Sub

    I can run it but the debug.print doesn't prompt any message.
    Since the very first day I tried debug.print it never worked. Would it be included in some preference that I haven't set?

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Cincinnati, Ohio, USA
    Posts
    6,824
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi
    While in the VBA development environment,
    Hit Control/G to bring up the immediate window, run your code, and your debug.print statement can be viewed.

    You can also click on view, immediate window
    Tom

    [ This Message was edited by: TsTom on 2002-04-10 04:45 ]

  3. #3
    New Member
    Join Date
    Feb 2002
    Location
    Belgium
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks Tom,

    After one year programming, this sounds like a revelation to me.
    Pierre

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •