- Code: Select all
sub change (hsnr)
If parts=0 Then
firstselected=hsnr
parts=parts+1
hsnr=0
Exit Sub
End If
If parts=1 Then
parts=0
secondselected=hsnr
Action.LoadAPicture Hotspot(secondselected), "homer_" & firstselected &".jpg"
Action.LoadAPicture Hotspot(firstselected), "homer_" & secondselected &".jpg"
End If
hsnr=0
firstselected=0
secondselected=0
End Sub
if I try it the first one it works as it should, but at the next time it doesnt work. I dont have error messages, but the pictures doesnt change.
Hope there is someone who could help me with this.
I have tried out a lot, but its always the same.
TiA juhu