Pinaceous
Well-known Member
- Joined
- Jun 11, 2014
- Messages
- 1,124
- Office Version
- 365
- Platform
- Windows
Hi All,
I'm working with the following code:
Does anyone know how to combine these terms so I have one line?
For example, I've tried variations of this code below, but I'm way off and need some help.
Thank you!
Pinaceous
I'm working with the following code:
Code:
Sub Macro11()
'
'
'
Worksheets("REPORT").Select
Worksheets("REPORT").Range("A1:L47").Select
End Sub
Does anyone know how to combine these terms so I have one line?
For example, I've tried variations of this code below, but I'm way off and need some help.
Code:
Sub Macro11()
'
'
'
Dim ws As Worksheet
For Each ws In Worksheets
If ws.Name("REPORT") Then
Range("A1:L47").Select
Next ws
End If
End Sub
Thank you!
Pinaceous