Archive of Mr Excel Message Board


Back to Excel VBA archive index
Back to archive home



Moving Macro Button

Posted by Jose Antonio Gonzalez on February 26, 2001 8:04 AM
Hello all!

How can I get to freeze a macro button? I want to move freely around the sheet and to have the button always available in the same position at the screen. If a button is located at cell D1 when I scroll the button obviously disappeared.

Freeze the window is not a solution for me, there are several macros in the sheet and each macros freeze a different section.

Thanks for your help.


--
Jose Antonio Gonzalez
Controller
Hotel Maria Cristina RES 086 - FRS 347 - SAP F220


Check out our Excel VBA Resources

Re: Moving Macro Button

Posted by Skip B on February 26, 2001 8:09 AM
I solved the same problem by making a small user form holding the macro buttons. When I opened the form in vb I used a statement such as
frmOpen.Show vbModeless

Now my buttons stay put and I can wander around any part of my spreadsheet. I hope this helps


Re: Thnak you

Posted by Jose Antonio Gonzalez on February 27, 2001 3:17 AM
Yes, that helps.

Thanks a lot!

--
Jose Antonio Gonzalez
Controller
Hotel Maria Cristina RES 086 - FRS 347 - SAP F220

I solved the same problem by making a small user form holding the macro buttons. When I opened the form in vb I used a statement such as




This archive is from the original message board at www.MrExcel.com.
All contents © 1998-2004 MrExcel.com.
Visit our online store to buy searchable CD's with thousands of VBA and Excel answers.
Microsoft Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.