Consulting

Results 1 to 3 of 3

Thread: String Cocantenation With Variables

  1. #1
    VBAX Regular
    Joined
    May 2011
    Posts
    17
    Location

    String Cocantenation With Variables

    Hi Guys!

    John Wilson helped me with String Cocantentation on this thread (Powerpoint 2007). However, how does it work with variables that have already been declared and assigned a string?

    (I'm very bad at VBA so my termanology might be a bit off!)

    Thanks!
    Eden

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,094
    Location
    Sure it works!

    [VBA]Sub try_this()
    Dim strVar As String
    strVar = "the end"
    MsgBox "the start and " & strVar
    End Sub[/VBA]
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  3. #3
    VBAX Regular
    Joined
    May 2011
    Posts
    17
    Location
    Quote Originally Posted by John Wilson
    Sure it works!

    [vba]Sub try_this()
    Dim strVar As String
    strVar = "the end"
    MsgBox "the start and " & strVar
    End Sub[/vba]
    Sorry, I just made a small typo and didn't have time to come back on here to tell you! Thanks though!

Posting Permissions

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