Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default command button

Hi,
Can anyone tell me why there's no friggin' tag property
with the command button in Excel even though it's listed
in help?! Is there any way to store extra info with a
command button in Excel??

George R.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default command button

Both the forms controls and the ActiveX controls you use on the worksheet do
not have the tag property. It is only present when used on a user form.
Not sure of the reason why as my thought would also be that an ActiveX
control would expose all of it's properties, the tag being one of them.
Unless of course the ActiveX buttons used on the Worksheet are somehow
different from the ones used on the forms.

Never thought about this till this post. Anyway bottom line is tag is out
for storage when used on a form. I would put data in a named cell
underneath the commandbutton on the worksheet.

--
Regards,


Bill Lunney
www.billlunney.com

"George" wrote in message
...
Hi,
Can anyone tell me why there's no friggin' tag property
with the command button in Excel even though it's listed
in help?! Is there any way to store extra info with a
command button in Excel??

George R.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default command button

The activeX controls themselves do not have a tag property. They inherit it
from the container object (the control object on a userform). In a
worksheet they are contained in an OleObject which does not have a TAG
property.

--
Regards,
Tom Ogilvy

"Bill Lunney" wrote in message
...
Both the forms controls and the ActiveX controls you use on the worksheet

do
not have the tag property. It is only present when used on a user form.
Not sure of the reason why as my thought would also be that an ActiveX
control would expose all of it's properties, the tag being one of them.
Unless of course the ActiveX buttons used on the Worksheet are somehow
different from the ones used on the forms.

Never thought about this till this post. Anyway bottom line is tag is out
for storage when used on a form. I would put data in a named cell
underneath the commandbutton on the worksheet.

--
Regards,


Bill Lunney
www.billlunney.com

"George" wrote in message
...
Hi,
Can anyone tell me why there's no friggin' tag property
with the command button in Excel even though it's listed
in help?! Is there any way to store extra info with a
command button in Excel??

George R.





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default command button

Cheers for clearing that up. Never knew how it worked.


--
Regards,


Bill Lunney
www.billlunney.com

"Tom Ogilvy" wrote in message
...
The activeX controls themselves do not have a tag property. They inherit

it
from the container object (the control object on a userform). In a
worksheet they are contained in an OleObject which does not have a TAG
property.

--
Regards,
Tom Ogilvy

"Bill Lunney" wrote in message
...
Both the forms controls and the ActiveX controls you use on the

worksheet
do
not have the tag property. It is only present when used on a user form.
Not sure of the reason why as my thought would also be that an ActiveX
control would expose all of it's properties, the tag being one of them.
Unless of course the ActiveX buttons used on the Worksheet are somehow
different from the ones used on the forms.

Never thought about this till this post. Anyway bottom line is tag is

out
for storage when used on a form. I would put data in a named cell
underneath the commandbutton on the worksheet.

--
Regards,


Bill Lunney
www.billlunney.com

"George" wrote in message
...
Hi,
Can anyone tell me why there's no friggin' tag property
with the command button in Excel even though it's listed
in help?! Is there any way to store extra info with a
command button in Excel??

George R.







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
Command Button WLMPilot Excel Discussion (Misc queries) 1 May 8th 10 04:52 AM
command button add another command Wanna Learn Excel Discussion (Misc queries) 5 December 7th 08 11:42 PM
Command button AOU Excel Discussion (Misc queries) 2 September 14th 07 06:32 PM
Command Button inspirz Excel Discussion (Misc queries) 1 March 29th 07 06:38 PM
Command Button Steved Excel Worksheet Functions 2 February 19th 06 11:01 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"