Guest User

javitas

a guest
Feb 20th, 2013
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Private Sub Worksheet_SelectionChange(ByVal Target As Range)
  2.  
  3. 'megnyitja a B oszlopban található fájlnevet
  4.  
  5. If Target.Count <> 1 Then Exit Sub
  6. If Target.Column <> 1 Then Exit Sub
  7. If Target.Offset(0, 1).Value = "" Then Exit Sub
  8. If Target.Row = 1 Then Exit Sub
  9. If Range("K6").Value = "" Then Exit Sub
  10.  
  11. ActiveWorkbook.FollowHyperlink (Range("K6").Value & Target.Offset(0, 1).Value)
  12.  
  13. End Sub
Advertisement
Add Comment
Please, Sign In to add comment