- Katılım
- 13 Ekim 2004
- Mesajlar
- 16,060
- Excel Vers. ve Dili
- Excel 2010-32 bit-Türkçe
Excel 365 -32 bit-Türkçe
Levent Hocam, küçük bir sorun var. A sütununa çentik attığımda ilgili sayfayı açıyor. Daha sonra o çentiği kaldırdığımda yine o sayfayı açıyor. Yani hücrede işaret varsa açsa işaret yoksa açmasa diyorum. Çok şey mi istiyorum acaba... Saygılarımla..
Kodu aşağıdaki ile değiştirin.
Kod:
[LEFT]Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, [a:a]) Is Nothing or target="" then Exit Sub
CreateObject("Shell.Application").Open ThisWorkbook.Path & "\" & Cells(Target.Row, "c") & ".doc"
End Sub
