Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I want to execute a macro and let it read/store some values in de current row. My intention was to place a graphical object in a row, attach the macro to it and let the macro 'dectect the "current row'' and read/store values row related. And do this for several rows, that all execute the same macro. How to solve this or are there smarter solutions! (I want to execute this for any single row) Regards Peter |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Peter
Check out the TopLeftCell/BottomRightCell property. -- Best Regards Leo Heuser MVP Excel Followup to newsgroup only please. "Peter van de Kerkhof" skrev i en meddelelse .. . Hi, I want to execute a macro and let it read/store some values in de current row. My intention was to place a graphical object in a row, attach the macro to it and let the macro 'dectect the "current row'' and read/store values row related. And do this for several rows, that all execute the same macro. How to solve this or are there smarter solutions! (I want to execute this for any single row) Regards Peter |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I.'m sorry Leo but that didn't help me much.
Yes I've found the TopLeftCell/BottomRightCell property but don't know how to apply it. Can you give a sample like: sub Updateline() summarybook = Excel.ThisWorkbook.Name MsgBox Workbooks(summarybook).Worksheets(DevList).TopLeft Cell end sub regards Peter "Leo Heuser" schreef in bericht ... Hi Peter Check out the TopLeftCell/BottomRightCell property. -- Best Regards Leo Heuser MVP Excel Followup to newsgroup only please. "Peter van de Kerkhof" skrev i en meddelelse .. . Hi, I want to execute a macro and let it read/store some values in de current row. My intention was to place a graphical object in a row, attach the macro to it and let the macro 'dectect the "current row'' and read/store values row related. And do this for several rows, that all execute the same macro. How to solve this or are there smarter solutions! (I want to execute this for any single row) Regards Peter |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In addition, to determine which graphical object was called, use the
application.Caller property in attached macro. It will return a string with the name of the graphical object that fired the macro. Regards, Tom Ogilvy Peter van de Kerkhof wrote in message .. . Hi, I want to execute a macro and let it read/store some values in de current row. My intention was to place a graphical object in a row, attach the macro to it and let the macro 'dectect the "current row'' and read/store values row related. And do this for several rows, that all execute the same macro. How to solve this or are there smarter solutions! (I want to execute this for any single row) Regards Peter |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Another 'Copy To The Next Available Row' Question | Excel Discussion (Misc queries) | |||
'select table row' | Excel Discussion (Misc queries) | |||
Pivot Table - filtering 'row' and then hide it | Charts and Charting in Excel | |||
Another 'IF cell contains THEN color row' Question | Excel Discussion (Misc queries) | |||
change row' height | New Users to Excel |