Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I'm working on a spreadsheet that is dynamically populated from a database query. I don't know how many rows will be returned by that query. What I would like to do is have a button at the beginning of each row that will execute a function, passing in some of the values from the the row. Is this possible at all? I looked into adding a button using ActiveSheet.OLEObjects.Add but this seems to have a maximum of 600 controls which is fewer than I may need. The excel form button is quicker to use, but not sure if I can use it to execute my own code with parameters rather than just a macro. It doesn't have to be a button - just a way of executing code based on the row the user is concerned with (e.g. could be double clicking on a cell etc) I Any tips or advice would be greatly appreciated. Many thanks Nick |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Go To Button on a spreadsheet. | Excel Worksheet Functions | |||
Create A vba button on a spreadsheet that | Excel Programming | |||
How do you get a spreadsheet button back? | Excel Discussion (Misc queries) | |||
Button to email my spreadsheet | Excel Programming | |||
how do i create a button within a spreadsheet | Excel Discussion (Misc queries) |