How to Create a Internet Radio in Excel

internet radio in excel

Steps to Create an Internet Radio in Excel

  • Go to Developer Tab -> Controls -> Insert -> Active X Control -> More Control.
  • Select Window Media Player from the list.
add window media player from active x controls
  • Now, double click on the window media player. And, By clicking on it, you will get the VB editor.
  • Change the name of window media player to “InternetRadioInExcel”.
change properties
  • Open your worksheet’s code window and paste below macros in it.
Sub InternetRadioStart()
Dim Path As String
Path = Range("F4")
If Path = "" Then
Exit Sub
With Me.InternetRadioInExcel
.URL = Path
DoEvents
.Controls.Play
DoEvents
End With
End Sub
Sub InternetRadioStop()
With Me
.InternetRadioInExcel
.Controls.stop
End With
End Sub

  • Patty Ball

    I’m getting a compile error when I click on either icon: Ambiguous name, InternetRadioStop ()

    • Puneet Gogia

      Hey Patty,

      Please try to use directly from WMP’s play button.