+ Reply to Thread
Results 1 to 5 of 5

everytime see commondbutton on the screen

Hybrid View

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    everytime see commondbutton on the screen

    Hi all,
    I had added a commandbutton for working a userform in my excel sheet. When the data increase, I have to study at lower rows. However the commondbutton is at the top rows. I can not see the button. Everytime I have to go top of page for working the commandbutton. Can I see the commandbutton whichever cells I study.
    Could you help me please?

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: everytime see commondbutton on the screen

    One possible way:-
    Right click in column 1 and the commadbutton will be aligned in the same row'
    Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
    If Target.Column = 1 And Target.Count = 1 Then
        Cancel = True
        CommandButton1.Top = ActiveCell.Top
    End If
    End Sub

  3. #3
    Registered User
    Join Date
    06-04-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: everytime see commondbutton on the screen

    thank you alot.

  4. #4
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: everytime see commondbutton on the screen

    You're welcome
    Regrds Mick

  5. #5
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,784

    Re: everytime see commondbutton on the screen

    Did not check and see that OP already got a perfekt answer to the problem. My message deleted.

    Alf
    Last edited by Alf; 11-04-2013 at 09:27 AM. Reason: OP got an answer to problem.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 10-29-2014, 03:41 AM
  2. [SOLVED] Adjust screen resolution automatically to fit all screen sizes
    By Ace_XL in forum Excel General
    Replies: 2
    Last Post: 06-14-2012, 08:51 AM
  3. Replies: 10
    Last Post: 04-19-2011, 09:27 PM
  4. Replies: 1
    Last Post: 06-30-2006, 01:50 PM
  5. [SOLVED] Need to convert point on screen to various screen resolutions
    By Donna YaWanna in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-26-2005, 06:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1