notty dread
New Member
- Joined
- Nov 17, 2008
- Messages
- 6
Hi there, I am having a problem with the Paste' function in excel being disabled - i think this is down to the Private Sub Worksheet_SelectionChange(ByVal Target As Range) (as this seems to be the probelm from my web searches), however I'm not competant enoough in VB to know what in the sub is cuasing the problem.
Is there a work around for this problem?
Cheers,
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Me.Range("E1").Value = "Viewer On" Then
Application.DisplayFormulaBar = False
Select Case ActiveCell.Column
Case "6"
Application.Run "'Usability Issues 2008 09.xls'!ShowWatcher"
Case "7"
Application.Run "'Usability Issues 2008 09.xls'!ShowWatcher"
Case "10"
Application.Run "'Usability Issues 2008 09.xls'!ShowWatcher"
Case Else
Exit Sub
End Select
Else
Application.DisplayFormulaBar = True
Exit Sub
End If
End Sub
Is there a work around for this problem?
Cheers,
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Me.Range("E1").Value = "Viewer On" Then
Application.DisplayFormulaBar = False
Select Case ActiveCell.Column
Case "6"
Application.Run "'Usability Issues 2008 09.xls'!ShowWatcher"
Case "7"
Application.Run "'Usability Issues 2008 09.xls'!ShowWatcher"
Case "10"
Application.Run "'Usability Issues 2008 09.xls'!ShowWatcher"
Case Else
Exit Sub
End Select
Else
Application.DisplayFormulaBar = True
Exit Sub
End If
End Sub