Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Moving the Command Button

I have a spread sheet which is scrolls from Column A to AV.
I have 2 very important command buttons which executes macros.

Is there a way I can get these Command Buttons to "follow" the user if
he/she scrolls either left or right?

For a better example, DHTML lets you scroll menus automatically, can
this be done in Excel?


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Moving the Command Button

If I understand what you mean, this is not possible.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"alexm999 " wrote in
message ...
I have a spread sheet which is scrolls from Column A to AV.
I have 2 very important command buttons which executes macros.

Is there a way I can get these Command Buttons to "follow" the

user if
he/she scrolls either left or right?

For a better example, DHTML lets you scroll menus

automatically, can
this be done in Excel?


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default Moving the Command Button

Don't think it is possible, but I can think of two
alternatives:

1) Put the command button on a userform and set the
userform's ShowModal property to be False
2) Create a custom toolbar and put a button that activates
your macro on the toolbar

The second is the easier of the two - look in Excel help
under "Run a macro from a toolbar button"

-----Original Message-----
I have a spread sheet which is scrolls from Column A to

AV.
I have 2 very important command buttons which executes

macros.

Is there a way I can get these Command Buttons

to "follow" the user if
he/she scrolls either left or right?

For a better example, DHTML lets you scroll menus

automatically, can
this be done in Excel?


---
Message posted from http://www.ExcelForum.com/

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Moving the Command Button

I don't think it's possible to trap a user's scrolling events.

What you could do is create a floating commandbar.
There's a commandbar example on my website: Collection of Buttons.
Just change the Position argument to msoBarFloating.

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"alexm999 " wrote in message
...
I have a spread sheet which is scrolls from Column A to AV.
I have 2 very important command buttons which executes macros.

Is there a way I can get these Command Buttons to "follow" the user if
he/she scrolls either left or right?

For a better example, DHTML lets you scroll menus automatically, can
this be done in Excel?


---
Message posted from http://www.ExcelForum.com/



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
Command buttons linked to moving rows steal_92 Excel Discussion (Misc queries) 2 June 11th 09 03:04 PM
command button add another command Wanna Learn Excel Discussion (Misc queries) 5 December 7th 08 11:42 PM
Command Buttons on Sheet moving with cells Todd Huttenstine[_2_] Excel Programming 4 November 30th 03 09:23 PM
Command Button vs Control Button RGibson Excel Programming 1 October 14th 03 02:24 AM
Command Button vs Form Button T K Excel Programming 4 August 26th 03 07:26 PM


All times are GMT +1. The time now is 12:11 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"