ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Can't Trace a Code/Instructions .... (https://www.excelbanter.com/excel-discussion-misc-queries/199190-cant-trace-code-instructions.html)

TomP

Can't Trace a Code/Instructions ....
 
Hello:

I have a spreadsheet with a button that is set to hyperlink. The button
works. When I open the file (macro disabled) and right-click on the button,
there is no option to view the code assigned to it. I can only change the
color, fonts, alignment, etc...

Question: Is there a way I trace the instructions writton for that button?

Thank you,

Tom

[email protected]

Can't Trace a Code/Instructions ....
 
On Aug 18, 10:05 am, TomP wrote:
Hello:

I have a spreadsheet with a button that is set to hyperlink. The button
works. When I open the file (macro disabled) and right-click on the button,
there is no option to view the code assigned to it. I can only change the
color, fonts, alignment, etc...

Question: Is there a way I trace the instructions writton for that button?

Thank you,

Tom


Right click on the button and select Assign Macro. This will allow you
to see which macro is being run by that button. Then open up the VB
editor and locate that macro's code.

TomP

Can't Trace a Code/Instructions ....
 
That worked!!! Thank you for your help!

" wrote:

On Aug 18, 10:05 am, TomP wrote:
Hello:

I have a spreadsheet with a button that is set to hyperlink. The button
works. When I open the file (macro disabled) and right-click on the button,
there is no option to view the code assigned to it. I can only change the
color, fonts, alignment, etc...

Question: Is there a way I trace the instructions writton for that button?

Thank you,

Tom


Right click on the button and select Assign Macro. This will allow you
to see which macro is being run by that button. Then open up the VB
editor and locate that macro's code.



All times are GMT +1. The time now is 04:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com