Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-03-2011, 07:28 AM
cksm4 cksm4 is offline Command Button Windows XP Command Button Office 2007
Advanced Beginner
Command Button
 
Join Date: Aug 2010
Posts: 48
cksm4 is on a distinguished road
Default Command Button

Hello,

I have a quick part that inserts a table that includes a command button. The problem is that the new command button gets renamed if i already exists (i.e. CmdDoAction1 gets renamed CmdDoAction2... and so on). Now the on click code for CmdDoAction1 will not run for CmdDoAction2. The only solution I can think of is using a macro that runs when all command buttons are pressed and then focusing on the name of the button. Any ideas?

Thanks!


Brock
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is the undo command Codey Excel 1 06-15-2010 01:10 PM
Command Button Using the LOOKUP Command Grapejuice Excel 2 10-15-2008 02:02 PM
Add-In:How to add command right click command bar phang Outlook 0 01-15-2007 02:53 AM
command buttons ronf Excel 0 04-28-2006 08:32 AM
command buttons ronf Excel 0 12-03-2005 06:26 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft