Senhores estou finalizando um player no Excel com o VBA e enfrento o seguinte problema, para a passagem de uma musica para a outra automaticamente, a macro que criei pula uma música, segue abaixo as linhas da programação, onde peço a gentileza de me ajudarem, desde já agradeço pela atenção.
Private Sub WindowsMediaPlayer1_PlayStateChange(ByVal NewState As Long)
   If NewState = WMPLib.WMPPlayState.wmppsMediaEnded Or _
      NewState = WMPLib.WMPPlayState.wmppsStopped Then
      Me.ListBox1.ListIndex = Me.ListBox1.ListIndex + 1
      Me.WindowsMediaPlayer1.Controls.Play
End If
End Sub
                                                                                                	                                                
	                                         
                    
                    	
                            Postado : 20/03/2017 1:09 pm