Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 298
Default migrate xls app 2003 to 2007 -- get custom macro button out of des

I created an Excel 2003 app with tons of VBA and custom macro buttons that
lie within the sheets. One user at my place has Excel 2007. I went to the
trust center and enabled macros and trusting VBA object models... When I
place the mouse over a custom macro button and then try to click on the
button all it does is to select the button in design mode. How do I get out
of the design mode and get to the mode where I can run the macro when I click
on the button?

Thanks,
Rich
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default migrate xls app 2003 to 2007 -- get custom macro button out of des

Developer TabDesign Mode can be toggled on/off.

Assumes button is from Control Toolbox

If you have no Developer Tab on Ribbon go to ButtonExcel OptionsShow
Developer Tab in Ribbon.


Gord Dibben MS Excel MVP

On Tue, 23 Mar 2010 09:14:01 -0700, Rich
wrote:

I created an Excel 2003 app with tons of VBA and custom macro buttons that
lie within the sheets. One user at my place has Excel 2007. I went to the
trust center and enabled macros and trusting VBA object models... When I
place the mouse over a custom macro button and then try to click on the
button all it does is to select the button in design mode. How do I get out
of the design mode and get to the mode where I can run the macro when I click
on the button?

Thanks,
Rich


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 99
Default migrate xls app 2003 to 2007 -- get custom macro button out ofdes

Hi Rich

On this Excel 2007 instance you may need to select allow macro's for
this file.
There can be a small extra ribbon between the column haddings and the
normal ribbon of XL2007.

HTH,

Wouter
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 298
Default migrate xls app 2003 to 2007 -- get custom macro button out of des

Thank you all for your replies. I actually did do all the things suggested.
The one thing that I did not do was to restart the workbook.. Then the
changes took effect.

But now I have another problem: I am deploying this excel 2003 app via
Visual Studio "Click Once" from C#. The users with Excel2007 are running a
..xls file which does run - except that I am performing a lot of drawing of
cirlce/lines to make custom graphs. In Excel 2003 this runs very quickly
(about 750 small custom graphs on the sheet). In Excel 2007 xls this runs
very slowly. The will first delete all the previous lines/cirlcel and then
redraw all the lines and cirles (several thousand lines and tiny circles)
using VBA. Is there a workaround to make this run faster in Excel 2007? In
Excel 2003 it runs fine and very fast. Should I save this down as a .xlsx?

"Rich" wrote:

I created an Excel 2003 app with tons of VBA and custom macro buttons that
lie within the sheets. One user at my place has Excel 2007. I went to the
trust center and enabled macros and trusting VBA object models... When I
place the mouse over a custom macro button and then try to click on the
button all it does is to select the button in design mode. How do I get out
of the design mode and get to the mode where I can run the macro when I click
on the button?

Thanks,
Rich

Reply
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
Add custom button to existing group Excel 2007 Viresh Parmar Excel Programming 3 January 5th 10 04:11 AM
Excel 2003 - assign macro to custom toolbar button Candace Excel Discussion (Misc queries) 1 August 10th 09 12:14 PM
2003 - 2007 custom macro and custom button restore. Scott Sornberger Excel Discussion (Misc queries) 11 May 23rd 08 02:41 PM
How do I show 2007 custom Button Images with transparent backgroun JeffreyW Excel Programming 0 December 9th 07 09:13 PM
In 2007 Add new Tool button to keep custom macros for Workbook Joe Excel Discussion (Misc queries) 1 December 7th 07 02:06 PM


All times are GMT +1. The time now is 09:39 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"