ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   button disappears when column is hidden (https://www.excelbanter.com/excel-programming/392018-button-disappears-when-column-hidden.html)

Edward

button disappears when column is hidden
 
I have a button that runs a macro that hides columns. I want to make
it flexible so that it can hide any column. No problems there. My
problem is that when I hide the column that my button is in, I also
hide the button. Is there a way to make buttons "float" or not assign
to any column so that I will not lose it? I am just using the
standard button created by going to View-Toolbars-Form and selecting
the button using Excel 2002.

Thanks.

Edward


Dave Peterson

button disappears when column is hidden
 
Rightclick on the button
Select Format Control|Properties tab|check "don't move or size with cells"



Edward wrote:

I have a button that runs a macro that hides columns. I want to make
it flexible so that it can hide any column. No problems there. My
problem is that when I hide the column that my button is in, I also
hide the button. Is there a way to make buttons "float" or not assign
to any column so that I will not lose it? I am just using the
standard button created by going to View-Toolbars-Form and selecting
the button using Excel 2002.

Thanks.

Edward


--

Dave Peterson

Edward

button disappears when column is hidden
 
On Jun 25, 3:22 pm, Dave Peterson wrote:
Rightclick on the button
Select Format Control|Properties tab|check "don't move or size with cells"

Edward wrote:

I have a button that runs a macro that hides columns. I want to make
it flexible so that it can hide any column. No problems there. My
problem is that when I hide the column that my button is in, I also
hide the button. Is there a way to make buttons "float" or not assign
to any column so that I will not lose it? I am just using the
standard button created by going to View-Toolbars-Form and selecting
the button using Excel 2002.


Thanks.


Edward


--

Dave Peterson


Thanks. Worked like a charm.

Edward



All times are GMT +1. The time now is 12:21 AM.

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