gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,347
- Office Version
- 365
- Platform
- Windows
I have too many UserFroms
Im trying to launch coded (by button on a from) and the code thats run depends on the active sheet.
Sub Activesht()
If ActiveSheet = "Resources by WBS" Then
Range("D1").Value = "8"
End If
End Sub
Activesheet name is Resources by WBS
Im trying to launch coded (by button on a from) and the code thats run depends on the active sheet.
Sub Activesht()
If ActiveSheet = "Resources by WBS" Then
Range("D1").Value = "8"
End If
End Sub
Activesheet name is Resources by WBS