LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a macro to create excel line graph with coloured pointers anddata lables anuj datta Charts and Charting in Excel 1 September 30th 09 04:04 PM
Macro code to create a toolbar? Do what I can, but I''m only one man. Excel Discussion (Misc queries) 3 October 24th 08 12:08 AM
IT'S POSSIBLE TO CREATE UPC CODE IN EXCEL Stéphane Bujold Excel Worksheet Functions 2 August 23rd 06 03:13 PM
code to create new excel file ashishprem[_8_] Excel Programming 1 February 28th 06 05:14 AM
How to create Specific date in macro code Eric[_6_] Excel Programming 1 December 13th 03 10:49 PM


All times are GMT +1. The time now is 06:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"