Ansys_Excel
New Member
- Joined
- Nov 6, 2013
- Messages
- 1
1. I have a text "test" in cell "A1" in "sheet1" which is hyperlink'd to a hidden sheet "sheet2". I have sheet code sub in "sheet1" "worksheet_followhyperlink" which allows me to click the text "test" to unhide & select "sheet2".
2. I have created a button on top of hyperlink'd text "test" in sheet1 cell"A1", it has its own name & caption. I have created 2nd sub "button_click" in "sheet1" & pressing button basically to call sub "worksheet_followhyperlink" . I am getting error upon pressing the button as "complie error: Argument not optional". Pls advise how to assign button to hyperlink button so that once I press the button should make hyperlink text to work which is in same cell as button.
2. I have created a button on top of hyperlink'd text "test" in sheet1 cell"A1", it has its own name & caption. I have created 2nd sub "button_click" in "sheet1" & pressing button basically to call sub "worksheet_followhyperlink" . I am getting error upon pressing the button as "complie error: Argument not optional". Pls advise how to assign button to hyperlink button so that once I press the button should make hyperlink text to work which is in same cell as button.