selant
Board Regular
- Joined
- Mar 26, 2009
- Messages
- 109
Hi,
I want to print out some text from my form but it doesnt seem to work.
Here is the code :
I dont know if this is the correct way to print out string variables from VBA.
I want to print out some text from my form but it doesnt seem to work.
Here is the code :
Code:
Private Sub CommandButton2_Click()
Dim rapor As String
rapor = "Hello World"
rapor.PrintOut Copies:=1, Collate:=True
MsgBox (rapor)
End Sub
I dont know if this is the correct way to print out string variables from VBA.