Results 1 to 6 of 6

How to shorten my msgbox code or show on mutiple lines?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-20-2011
    Location
    United States, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    295

    Question How to shorten my msgbox code or show on mutiple lines?

    Any recommendations on how to shorten my code, OR AT LEAST How to write it on mutiple lines so that I can see it all without having to scroll on screen?

    Can I somehow use the "_" (underscore) that I have seen been used before?

    varNewDateAnswer = Msgbox("Your current Contract dates are:" & vbLf & vbLf & "DESIGN:" & Chr(9) & Chr(9) & Chr(32) & DesignDate & Chr(9) & "for  " & oldDesign_rowsCount & "  month(s)" & vbLf & "CONSTRUCTION:" & Chr(9) & Chr(32) & ConstDate & Chr(9) & "for  " & oldConst_rowsCount & "  month(s)" & vbLf & "POST-OCCUPANCY:" & Chr(9) & Chr(32) & PostDate & Chr(9) & "for  " & oldPost_rowsCount & "  month(s)" & vbLf & vbLf & "Do you need to change them?!", vbYesNoCancel + vbQuestion)
    Last edited by clemsoncooz; 02-08-2012 at 09:32 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1