Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks a lot to all that have helped me for you time and
expertise. I now know how to use msgbox for debugging strings. What I have found is that in the my code the sName string does not work - using the following the msgbox show nothing. Dim sName As String, sDate As String sName = (Left(Range("B1"), 4)) sDate = "" & Format(DateSerial(Year(Date), Month (Date) - 1, 1), "mmm yy") MsgBox sName & sDate End Sub = date only, no name sName is suppose to get the first four letters in cell "B1". Any Ideas why it does not do it. Again, thanks for all of the help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change 3 letter text string to a number string | Excel Discussion (Misc queries) | |||
MsgBox String 2 | Excel Programming | |||
MsgBox & String | Excel Programming | |||
Can I create a msgbox that is asking for a string to be typed in? | Excel Programming | |||
Create a formula into a String then assign string to a cell | Excel Programming |