+ Reply to Thread
Results 1 to 5 of 5

Form on the first row of the sheet

  1. #1
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Form on the first row of the sheet

    Is it possible to have a userform always on the first row of the sheet
    Ie if the cells are hidden or scroll the form will be displayed accordingly

    And width equal to the width of the excel application window
    Aim is to display current workbook status every time on the top of the sheet
    Like doing a freeze pan but data updates quickly and applicable for all sheets on the workbook
    Last edited by saravnepali; 09-08-2020 at 03:05 AM.
    If you think someone helped you, click on the "* Add Reputation" as a way to say thank you.

    If your problem is solved, go to Thread Tools and select Mark This Thread Solved

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Form on the first row of the sheet

    This may help
    http://www.cpearson.com/excel/FormPosition.htm
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Form on the first row of the sheet

    Thanks Kev

    This tells us where to put the form

    Is there any way to find the coordinates of the cells that are currently visible

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Form on the first row of the sheet

    Code below works for me - I did nothing other than paste it into my module

    Not my code - found it here
    https://www.mrexcel.com/board/thread...-range.765416/

    To test if it, paste everything into a new module and run GetCoordinateTopLeft

    Please Login or Register  to view this content.
    ---------------------------------------------------------------------------------------------------------------
    If you encounter a problem it may be down to the version of VBA on your machine not being 32bit
    This will tell you ...

    Please Login or Register  to view this content.
    And (according to the link above) for Win64 version of vba ...
    Put Private PtrSafe instead of Private

    I cannot help you resolve anything with this code - it is way over my head!

  5. #5
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: Form on the first row of the sheet

    Thanks Kev for your help.

+ 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. Input form moves data to master form for cash count sheet
    By janders84 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2017, 06:04 PM
  2. Replies: 1
    Last Post: 12-15-2015, 05:04 PM
  3. [SOLVED] Copy data from one sheet (multiple cells) to another sheet in tabular form
    By dvs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-19-2014, 12:13 PM
  4. [SOLVED] How to copy data range form one sheet to other sheet with desire Reverse Transpose ?
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-18-2013, 12:30 PM
  5. Replies: 9
    Last Post: 11-26-2012, 06:07 PM
  6. Copy one record with subdata (Form Sheet) to Database Sheet (Collection)
    By vrgiloilo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2011, 01:12 AM
  7. Replies: 1
    Last Post: 06-01-2010, 07:44 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