View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
dah
 
Posts: n/a
Default Macro Print Numbers


Hi:


I have a macro written but the enter value does not print. . .any
thoughts?
When the user enter an order number into the message box I want the
following to print:

SyteLine Order No: 67551 or whatever the order number is

The text prints but not the number

Sub GetOrderNo()
Dim strName As String

' GetOrderNo Macro
' Macro recorded 1/23/2006
'
' Keyboard Shortcut: Ctrl+g
'
strName = InputBox(Prompt:="Enter SyteLine Order Number")
ActiveCell.FormulaR1C1 = "SyteLine Order No: " & Format("###0")

End Sub


--
dah
------------------------------------------------------------------------
dah's Profile: http://www.excelforum.com/member.php...fo&userid=6493
View this thread: http://www.excelforum.com/showthread...hreadid=504098