D
Dave
I have an Excel 2000 problem that I've tried for 2 days to get the
answer to and can't find any information on it. (maybe there is no
answer... but here goes)
I have an Excel 2000 Spreadsheet with about 500 commandbuttons on it.
I wrote a macro, in Visual Basic 6.0 that comes with Excel 2000, that
will work with all 500 buttons at run time, but I just need one thing:
I need to be able to assign the text in the Name Box, (That little
white box on a spreadsheet just above the A1 Cell), to a string called
CurrentButton.
For instance. If I click on the 6'th button in the worksheet, and in
the Name Box it says 'Button 6', I need to have CurrentButton =
"Button 6".
That's it. It's either something very obvious that I've overlooked,
or it can't be done with Excel 2000/Visual Basic 6.0.
Thank you in advance for anyone that puts any effort into this problem
for me.
answer to and can't find any information on it. (maybe there is no
answer... but here goes)
I have an Excel 2000 Spreadsheet with about 500 commandbuttons on it.
I wrote a macro, in Visual Basic 6.0 that comes with Excel 2000, that
will work with all 500 buttons at run time, but I just need one thing:
I need to be able to assign the text in the Name Box, (That little
white box on a spreadsheet just above the A1 Cell), to a string called
CurrentButton.
For instance. If I click on the 6'th button in the worksheet, and in
the Name Box it says 'Button 6', I need to have CurrentButton =
"Button 6".
That's it. It's either something very obvious that I've overlooked,
or it can't be done with Excel 2000/Visual Basic 6.0.
Thank you in advance for anyone that puts any effort into this problem
for me.