View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
gator gator is offline
external usenet poster
 
Posts: 66
Default How do I Create a Macro to run VB Code in Excel?

I have a Private Sub named Worksheet_SelectionChange(ByVal Target As Range)
How do I create a macro to run this code. I am trying to assign VB Code to
run when I click an icon that I made. I get stuck when I have to assign a
macro to the icon. Do I just use the sub name above? Do I create a macro to
run the sub and then assign the icon to the macro?
HELP
--
Gator