JMcAnarney
New Member
- Joined
- Nov 2, 2021
- Messages
- 19
- Office Version
- 2016
- Platform
- Windows
- Web
Sub JMcAnarney()
Dim Ws As Worksheet, Nws As Worksheet
I have the following MACRO written and it works perfectly:
If Evaluate("isref('Master Summary'!A1)") Then
Set Nws = Sheets("Master Summary")
Else
Set Nws = Sheets.Add(Sheets(1))
Nws.Name = "Master Summary"
End If
For Each Ws In Worksheets
If Ws.Name <> "Master Summary" Then
Nws.Range("A" & Rows.Count).End(xlUp).Offset(1).Resize(14, 20).Value = Ws.Range("L49:AE62").Value
End If
Next Ws
End Sub
My one question is that is it possible when I run this that the output page does not allow me to write any formulas on the page whatsoever. Obiously I can just expand the MACRO range; but is it possible to make these edits on page itself???
Dim Ws As Worksheet, Nws As Worksheet
I have the following MACRO written and it works perfectly:
If Evaluate("isref('Master Summary'!A1)") Then
Set Nws = Sheets("Master Summary")
Else
Set Nws = Sheets.Add(Sheets(1))
Nws.Name = "Master Summary"
End If
For Each Ws In Worksheets
If Ws.Name <> "Master Summary" Then
Nws.Range("A" & Rows.Count).End(xlUp).Offset(1).Resize(14, 20).Value = Ws.Range("L49:AE62").Value
End If
Next Ws
End Sub
My one question is that is it possible when I run this that the output page does not allow me to write any formulas on the page whatsoever. Obiously I can just expand the MACRO range; but is it possible to make these edits on page itself???