Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default Button Name or Cell Reference

I have a sheet with 20 rows, at the end of each row is a button. If each
button calls the same macro, is there a way to know either which Button was
pressed (e.g. Button Name = "Button 1", or which Row or Cell Reference the
pressed Button was on?

I need to get the row number to process other code based on the row the
button was on.
--
Trefor
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Button Name or Cell Reference

Hi Trefor,

See reponse to your later post

---
Regards,
Norman



"Trefor" wrote in message
...
I have a sheet with 20 rows, at the end of each row is a button. If each
button calls the same macro, is there a way to know either which Button
was
pressed (e.g. Button Name = "Button 1", or which Row or Cell Reference the
pressed Button was on?

I need to get the row number to process other code based on the row the
button was on.
--
Trefor



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
I don't have the relative reference button . why? hutcher Excel Discussion (Misc queries) 1 March 23rd 07 01:05 AM
Can I get Button name or Cell Reference Trefor Excel Discussion (Misc queries) 2 October 22nd 05 02:01 PM
How to determine button reference Lon Sarnoff Setting up and Configuration of Excel 1 June 4th 05 04:22 AM
RELATIVE REFERENCE BUTTON Neil Mark Excel Discussion (Misc queries) 2 February 22nd 05 07:27 AM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. [email protected] Excel Worksheet Functions 2 December 11th 04 12:05 AM


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