Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 224
Default Parameters in Forms Buttons - not working in Excel 2002

In Excel 2003 and 2007, I can create buttons from the Forms toolbar
(in Excel 2007, from "Forms Controls") and assign parameters to them,
like this:

Sub test_button(arg)
MsgBox arg
End Sub


Assign Macro | Macro Name:

'My Workbook.XLS'!'test_button(5)' '(note that the single quotes
around testbutton(5) are required.)


Works fine in Excel 2003 and 2007. But in Excel 2002, nothing happens
when I click the button.

Was the ability to send parameters from Forms buttons new in Excel
2003, or is there something different I need to do to get it to work
in Excel 2002?


Thanks,

Greg
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
Excel 2002: How to sum up base on date parameters ? Mr. Low Excel Discussion (Misc queries) 4 March 27th 08 03:55 PM
Option Buttons from the Forms Toolbar - Excel 2003 mickey Excel Worksheet Functions 2 October 14th 07 11:32 AM
Data Forms in Excel 2002 kez Setting up and Configuration of Excel 1 December 8th 04 10:17 PM
How to create a shortcut key to access buttons in excel forms Andy Chan Excel Programming 1 August 24th 04 10:25 AM
MDI Forms in Excel 2002 XP Karsten Excel Programming 0 August 20th 03 10:04 PM


All times are GMT +1. The time now is 03:55 PM.

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

About Us

"It's about Microsoft Excel"