Spet rabim pomoč.
Na listu imam različne oblike s katerimi zaganjam posamezne makre (OnAction). Ko sem tem oblikam dodal še namig (ScreenTip) se makro ne zažene več.
Koda: Izberi vse
With Worksheets(cList).Shapes.AddShape(nTipPuscice, _
nPLeft, _
nPtop, _
nPWidth, _
nPHeight)
.Name = cPImeObl
.Fill.ForeColor.RGB = xBarvaF
.Line.ForeColor.RGB = xBarvaL
.Line.Weight = 1
.Placement = 3
.Fill.Transparency = 0.5
.OnAction = "'Puscica_Klik """ & cPImeObl & """'" ' 'Puscica_Klik ""cPImeObl""'
.Locked = True
End With
With Worksheets(cList) ' Dodam še namig
.Hyperlinks.Add Anchor:=.Shapes(cPImeObl), _
Address:="", _
ScreenTip:=cScrTip
End With
Lep pozdrav, Drago