Hello Guys,
I would like to know if there is any way to make the cell in which the button is inserted as the ActiveCell when i click the button?
Thanks in advance![]()
Hello Guys,
I would like to know if there is any way to make the cell in which the button is inserted as the ActiveCell when i click the button?
Thanks in advance![]()
Do you mean:
![]()
Sub test() Dim ac As Range Set ac = Range(ActiveCell.Address) End Sub
Never use Merged Cells in Excel
Unbenannt.jpg
Hi zbor,
Thanks for the quick reply. In the image u can see that there are three buttons. I want that, when i click any of these buttons, the cell in which the button is inserted should become the activecell. Loking forward for your guidance
Thanks in Advance
Ah, I see.
Assign this macro to a button:
![]()
Sub btn_position() Dim btn As Object Set btn = ActiveSheet.Buttons(Application.Caller) With btn.TopLeftCell adr = .Address End With msgbox adr End Sub
Perfect!
Thanks a lott![]()
Hi zbor,
I have another similar question. When i use the Application.inputbox(), i select a value on the excel sheet. I want the selected cell to be the Activecell cell now. Is there a way to do it?
Thanks in Advance![]()
This is a new question, not so simillar
Please open a new thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks