????? ????? ??????? ??????? ????? ????? ??? ?????

?????? ????????? ?????? ?????????
???? ???????: 290359 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

????? Microsoft Visual Basic for Applications Str() ?????? ????? ????? ?????? ??????? ????? (n). ??? ????? ??????? ??????? ??????? ??? ????? ?? ????? ?????.

?????? ??? ??????? ????? ???? ???? ????????? ?????? ??????? ??????? ????? ???? ?? ??????? ??? ?????.

??????? ????

???? Microsoft ??????? ???????? ??? ??? ?? ???? ??????? ?? ?? ?????. ??? ????? ???? ?? ????? ??? ???????? ??????? ?????? ???????? ?? ???????? ???? ????. ????? ??? ??????? ???? ?????? ?? ??? ??????? ???? ??? ????? ?? ??????? ???? ??? ????????? ?????? ?????? ?????????. ???? ??????? ????? ??? Microsoft ??? ????? ????? ???? ???? ?? ?????? ?????? ??? ??????? ?????? ????? ?????? ?? ????? ??????? ?????? ??????? ?????. ????? ????? ??????? ?????? ??? ????????? ???????? ???? ????? ??? ???? ?????. ?????? ?? "empcode" ????? "??? ???????" ??? ????? ?? ??????? "???????" ??:
lastName = "Peterson"
empcode = Str(1234)
license = lastName & empcode 'Result is: Peterson 1234
				
????? ????????? ???????? ??????? ?????? ????? ???? ????? ??? ???? ????? ??? ?? ????? ??????? ??????? ???????? ?? ????? Str() ???????? ?????? LTrim$(). ?????? ?? "empcode" ????? "??? ???????" ??? ????? ?? ??????? "???????" ??:
lastName = "Peterson"
empcode = Str(1234)
empcode = LTrim$(empcode)
license = lastName & empcode 'Result is: Peterson1234
				
?? Visual Basic for Applications ????? ????? ??????? ??? ??? ????? ?? Visual Basic for Applications CStr() ??????. ?????? ?????? ??????? ??????? ???????? ??? ?????? ??? ??????? ???? Trim$() ??? ?? ?????? ??????:
lastName = "Peterson"
empcode = CStr(1234)
license = lastName & empcode 'Result is: Peterson1234
				
??? ??????? ?????? Str() ?????? ???? ????? ??? ?????. ?? ???? ??? ?????? ??? ??????? ??????? MsgBox ???????? ????? ????? ?????. ???? ?? ??????? ??????? ???? ??? ??????? ?????? ?????? Str() ????? ??? ???????? ?????? ????? ?????? ??? ???????? ?? ????? MsgBox. ??? ???? ??????:
sValue = Str(457)
MsgBox "Total sales equal" & sValue
' Result is: Total sales equal 457
				
?????? ?????? ??? ???? ???????? ????? ??????? ??? ???:
MsgBox "Total sales equal " & 457
' Result is: Total sales equal 457
				
- ?? -
MsgBox "Total sales equal" & Str(457)
' Result is: Total sales equal 457
				
- ?? -
MsgBox "Total sales equal " & CStr(457)
' Result is: Total sales equal 457
				

???????

???? ???????: 290359 - ????? ??? ??????: 12/????/1428 - ??????: 5.5
????? ???
  • Microsoft Office Excel 2003
  • Microsoft Excel 2002 Standard Edition
  • Microsoft Excel 2000 Standard Edition
  • Microsoft Excel 97 Standard Edition
  • Microsoft Excel 2004 for Mac
  • Microsoft Excel X ?? Mac
  • Microsoft Excel 2001 ?? Macintosh
  • Microsoft Excel 98 ?? Macintosh
  • Microsoft Office Word 2003
  • Microsoft Word 2002 Standard Edition
  • Microsoft Word 2000 Standard Edition
  • Microsoft Word 97 Standard Edition
  • Microsoft Word 2004 for Mac
  • Microsoft Word X ?? Macintosh
  • Microsoft Word 2001 ?? Mac
  • Microsoft Word 98 ?? Macintosh
  • Microsoft Office PowerPoint 2003
  • Microsoft PowerPoint 2002 Standard Edition
  • Microsoft PowerPoint 2000 Standard Edition
  • Microsoft PowerPoint 97 Standard Edition
  • Microsoft PowerPoint 2004 for Mac
  • Microsoft PowerPoint 2001 ?? Mac
  • Microsoft PowerPoint X ?? Mac
  • Microsoft PowerPoint 98 ?? Macintosh
  • Microsoft Office Access 2003
  • Microsoft Access 2002 Standard Edition
  • Microsoft Access 2000 Standard Edition
  • Microsoft Access 97 Standard Edition
????? ??????: 
kbmt kbhowto KB290359 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????290359

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com