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: 62
Default Fastest way to create clickable buttons in Excel via VBA

Hi there

I am generating worksheets in VBA with lots of buttons, i.e. cells
that launch a macro when clicked. The neatest way I found so far is to
create a rectangular shape to which I assign an "onaction" property.
The thing is that I need to add a lot of them in a spreadsheet (a few
hundreds at least), and it is slowing down my code significantly.

I was wondering if there wasn't a smarter way to launch theses macro
from excel. I was thinking to adding some events in the sheet, but
that would require to be able to add some code to the sheet via VBA
(the onchange subs), which I am not sure is doable.

Would someone know a faster alternative?

thanks in advance
Charles
 
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
trying to create a time sheet with clickable buttons tarabull Excel Discussion (Misc queries) 1 March 31st 09 08:39 PM
Clickable graphs within excel or some type of add-on? activeX? KR Charts and Charting in Excel 2 June 22nd 06 04:51 PM
clickable URL in excel? djarcadian Excel Discussion (Misc queries) 3 May 31st 06 12:01 AM
clickable buttons Murph Excel Discussion (Misc queries) 2 June 22nd 05 07:30 PM
How to create a shortcut key to access buttons in excel forms Andy Chan Excel Programming 1 August 24th 04 10:25 AM


All times are GMT +1. The time now is 01:29 PM.

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"