![]() |
|
|
|
#1
|
|||
|
|||
|
Code:
Sub EditPaste()
MyEditPaste
End Sub
Sub MyEditPaste(Optional varPassed As String)
If Not varPassed = vbNullString Then
MsgBox varPassed
Else
Selection.Paste
End If
End Sub
Sub OtherRoutine()
MyEditPaste "Test"
End Sub
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I pass a field as a parameter via a URL? | kelvinlewisuk1 | Outlook | 0 | 06-30-2016 08:30 AM |
| Array to iterate through variables and trap blank variables | Marrick13 | Word VBA | 5 | 08-04-2015 06:19 AM |
| can word: make variables, find appropriate pages, fill out pages with variables, print only those | 20GT | Word VBA | 1 | 10-15-2014 09:48 PM |
How to Pass Document to this Sub
|
ilcaa72 | Word VBA | 1 | 01-28-2014 03:04 PM |
| How to pass parameters to a .msg file? | HereNow | Outlook | 0 | 11-05-2012 10:38 AM |