UNC_Access
Registered User.
- Local time
- Yesterday, 19:28
- Joined
- Oct 24, 2012
- Messages
- 42
Hi!
Here is my goal:
Print sheets "01" and "01A" when the ActiveSheet is sheet "01".
Here is my code:
I'm getting an error on the red part.
The key is that I need to print out 2 sheets, "_" and "_A" (concatenated with "A" at the end).
Any ideas?
Here is my goal:
Print sheets "01" and "01A" when the ActiveSheet is sheet "01".
Here is my code:
Code:
Sub Print_Sheets()
Dim x As String
x = ActiveSheet.Name
Sheets(Array(x, [COLOR=Red]x&"A"[/COLOR])).PrintOut
End Sub
The key is that I need to print out 2 sheets, "_" and "_A" (concatenated with "A" at the end).
Any ideas?