Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
jc jc is offline
external usenet poster
 
Posts: 164
Default Text box macro button...need it to remain stationary.

I'm using Excel 2007...I have a text box that has a macro assigned to
it..part of the macro states that it needs to delete Columns A:E, when this
happens, the "macro button" shifts to the left after the macro has run...is
there any way to make that text box stationary? So it won't shift when the
columns are deleted? I can't add the macro button to my toolbar b/c this
sheet is shared with others, and they won't know to add it to their
toolbar...My people, need to run this macro from the same sheet multiple
times...so sooner or later, the button will be deleted...any suggestions
would be great!!!

Thanks in advance!!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Text box macro button...need it to remain stationary.

Hi,

Select the textbox. Right click and pick Size and Properties...
Set the object to not move or size with cells.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"JC" wrote in message
...
I'm using Excel 2007...I have a text box that has a macro assigned to
it..part of the macro states that it needs to delete Columns A:E, when
this
happens, the "macro button" shifts to the left after the macro has
run...is
there any way to make that text box stationary? So it won't shift when
the
columns are deleted? I can't add the macro button to my toolbar b/c this
sheet is shared with others, and they won't know to add it to their
toolbar...My people, need to run this macro from the same sheet multiple
times...so sooner or later, the button will be deleted...any suggestions
would be great!!!

Thanks in advance!!!


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Text box macro button...need it to remain stationary.

If you select the textbox and right-click it, there is a Size and Properties
option. Click the properties tab, and check Don't move and size with cells.

--
__________________________________
HTH

Bob

"JC" wrote in message
...
I'm using Excel 2007...I have a text box that has a macro assigned to
it..part of the macro states that it needs to delete Columns A:E, when
this
happens, the "macro button" shifts to the left after the macro has
run...is
there any way to make that text box stationary? So it won't shift when
the
columns are deleted? I can't add the macro button to my toolbar b/c this
sheet is shared with others, and they won't know to add it to their
toolbar...My people, need to run this macro from the same sheet multiple
times...so sooner or later, the button will be deleted...any suggestions
would be great!!!

Thanks in advance!!!



  #4   Report Post  
Posted to microsoft.public.excel.programming
jc jc is offline
external usenet poster
 
Posts: 164
Default Text box macro button...need it to remain stationary.

Bob,
This worked!!! Exactly what I wanted it to do!!
Thanks for your help!!!

"Bob Phillips" wrote:

If you select the textbox and right-click it, there is a Size and Properties
option. Click the properties tab, and check Don't move and size with cells.

--
__________________________________
HTH

Bob

"JC" wrote in message
...
I'm using Excel 2007...I have a text box that has a macro assigned to
it..part of the macro states that it needs to delete Columns A:E, when
this
happens, the "macro button" shifts to the left after the macro has
run...is
there any way to make that text box stationary? So it won't shift when
the
columns are deleted? I can't add the macro button to my toolbar b/c this
sheet is shared with others, and they won't know to add it to their
toolbar...My people, need to run this macro from the same sheet multiple
times...so sooner or later, the button will be deleted...any suggestions
would be great!!!

Thanks in advance!!!




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why wont 'autofit' and 'wrap text' remain in tact? Bermi Girl Excel Worksheet Functions 3 May 6th 10 01:29 PM
Is it possible to have a stationary text box whilst scrolling therows ? JohnC[_2_] Excel Discussion (Misc queries) 5 February 18th 10 02:08 PM
stationary command button Jase Excel Discussion (Misc queries) 2 September 23rd 08 05:30 PM
drop-down button to remain visible Didier Rousselle Excel Discussion (Misc queries) 1 December 20th 07 08:49 PM
Delete text while numbers remain intact Sugar_grrl Excel Worksheet Functions 2 August 15th 05 05:32 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"