LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default URGENT help needed for a macro to place and size command button

I am struggling with excel command buttons that move around my
worksheet when rows and columns are hidden. I need for them to move
with the cell and resize, as I need them to be hidden at certain
times. My program is used to keep scores in the fall season and I am
1/3 through the season.

Is there a way that I can write a macro to place (or actually in this
case replace) the rogue command buttons back in their intended
specific location and reset the size, if necessary to its original
size? This would solve my problem quickly, but I do not know if it is
possible to write such a macro.

I have experimented with the macro writer, but it seems to want to
relocate by scaling from where the button is. Since I do not know
where the darn button is, that does not work for me.

As an example, I would need a macro to do the following...

1) Locate the existing command button (Button 1) in cell E26 so the
left edge and top of the button are at the cell left edge and top of
the cell (the button has moved to the top edge of the page)
2) Make the command button (Button 1) 1" wide and .25" high (not sure
if I need to do this or not, because I am not sure if the command
button stayed the same size when it moved - I will have to trial and
error to find out when I figure out how to move the button).

I would really appreciate some help. I am self-taught and I am
partially blind. My users are unskilled moms using the program every
week, and on some oftheir computers the buttons move, and on others
they do not. (talk about the blind leading the blind :-) - just
kidding).

I suspect it is an available memory issue, but am unsure, as older
computers and netbooks seem to have the problem...

I need a quick fix, and could place a similar macro in front of the
call for each button (There are close to 100 buttons on the sheet -
only a couple are supposed to appear at a time).

Is this possible? Thank you.

 
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
Command button font size changes AJ Excel Discussion (Misc queries) 0 June 27th 08 03:28 AM
command button code needed pswanie Excel Programming 2 January 3rd 08 06:10 PM
Help needed moving a command button Karoo News[_2_] Excel Programming 1 January 30th 06 04:18 AM
Bug: Command Button Text Size Changes charlie oppenheimer Excel Programming 3 August 22nd 05 12:06 AM
Urgent: VBA Command Button Caption Problem Disco[_4_] Excel Programming 1 November 12th 03 10:38 AM


All times are GMT +1. The time now is 02:15 AM.

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"