Jenny McMillan
New Member
- Joined
- Jul 13, 2016
- Messages
- 2
Here is the code I have for the Macro, but I am not able to figure out how to change the color of the botton on the worksheet. Can anyone help me fix my code. I am new to Excel:
Sub Macro1()
'
' Macro1 Macro
'
'
Application.ScreenUpdating = False
Sheets("Template-Contact Log").Visible = True
Sheets("Template-Contact Log").Select
Sheets("Template-Contact Log").Copy Before:=Sheets(4)
Sheets("Template-Contact Log").Visible = False
Sheets("Template-Contact Log (2)").Select
Range("E1").Value = Sheets("CIS & W9 Site Information").Range("G1").<wbr>Value
Sheets("Template-Contact Log (2)").Name = Sheets("CIS & W9 Site Information").Range("G1").<wbr>Value
End Sub
Sub Macro2()
'
' Macro2 Macro
'
'
Sheets("Template-Contact Log (2)").Name = "2 - Dr. Peter Datlowe"
End Sub
Thanks - Jenny
Sub Macro1()
'
' Macro1 Macro
'
'
Application.ScreenUpdating = False
Sheets("Template-Contact Log").Visible = True
Sheets("Template-Contact Log").Select
Sheets("Template-Contact Log").Copy Before:=Sheets(4)
Sheets("Template-Contact Log").Visible = False
Sheets("Template-Contact Log (2)").Select
Range("E1").Value = Sheets("CIS & W9 Site Information").Range("G1").<wbr>Value
Sheets("Template-Contact Log (2)").Name = Sheets("CIS & W9 Site Information").Range("G1").<wbr>Value
End Sub
Sub Macro2()
'
' Macro2 Macro
'
'
Sheets("Template-Contact Log (2)").Name = "2 - Dr. Peter Datlowe"
End Sub
Thanks - Jenny