Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default command button position

How can I get command button to remain visible on the screen as excel page
scrolls
--
Many Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default command button position


As far as I know you can't

You could try
Place button in row 1 & freeze pane

or have a look at a floating toolbar
'Excel Float on you crazy button'
(http://www.mrexcel.com/archive/Controls/31444.html)


--
mudraker
------------------------------------------------------------------------
mudraker's Profile: http://www.thecodecage.com/forumz/member.php?userid=18
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=24116

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default command button position

hi
a suggestion.
put the button on a small modaless form. the modaless mode will allow you to
click the sheet, toolbar, scroll, etc but the form will stay stationary. bit
of a hassel maybe but workable.
myform.show 0
1 is modal/default(user cannot do any of the above.click on form only)
0 is modaless

regards
FSt1

"Gerry" wrote:

How can I get command button to remain visible on the screen as excel page
scrolls
--
Many Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default command button position

Sorry if this posts twice, crashed while sending...

You might consider just adding a button to a toolbar, a built-in one or a
custom one. Its easy to set up, it doesn't get in the way as a form might,
its always visible without requiring freeze panes and its really just a
command button.

--
Thanks,
Shane Devenshire


"Gerry" wrote:

How can I get command button to remain visible on the screen as excel page
scrolls
--
Many Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default command button position

3 ways-
1) Freeze panes - Mudraker
2) Create Modeless userform.. - Fst1
3) Create a toolbar :-

Sub RemoveCB()
On Error GoTo EndThis
CommandBars("Tbname").Delete ' Make sure bar does not
exist first..! if so remove
EndThis: End Sub

Sub AddToolBar()
Set MyBar = CommandBars.Add("Tbname", msoBarFloating, False,
True)
With MyBar
.Visible = True
.Protection = msoBarNoChangeVisible + msoBarNoResize +
msoBarNoChangeDock
With .Controls.Add '
.Caption = " What this button does"
.FaceId = 172
.Style = msoButtonIconAndCaption
.TooltipText = "What this button does"
.OnAction = "Button_macro"
.SetFocus
' Bar Autosizes to Control Height *** Min Height =22
.BeginGroup = True
End With
End with
End Sub

Then your Commandbar created in OnSheet activete event.. or
similar

Hope that helps
A.

"Gerry" wrote in message
...
| How can I get command button to remain visible on the
screen as excel page
| scrolls
| --
| Many Thanks


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
insert row above button (retrieve position of button) Max Excel Discussion (Misc queries) 3 November 7th 07 06:27 PM
Command Button Position Kenny Excel Discussion (Misc queries) 3 October 14th 07 09:19 PM
How to add a command button Marilyn Excel Discussion (Misc queries) 3 August 3rd 06 01:44 AM
command button wayno Excel Worksheet Functions 1 July 31st 06 02:02 AM
change position of filter button Jodie Excel Worksheet Functions 1 July 11th 06 10:07 PM


All times are GMT +1. The time now is 01:25 PM.

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

About Us

"It's about Microsoft Excel"