+ Reply to Thread
Results 1 to 5 of 5

Freezepanes

  1. #1
    Registered User
    Join Date
    02-10-2006
    Posts
    20

    Freezepanes

    Hi All

    I wonder if any kind soul can help me......

    I'm trying to automate putting column L to the far left (ie cant see cols A-K, but not wanting them hidden) and then putting Freezepane on at col M.

    But everytime I code to move the activecell from say col B to AY, Col L disappears behind the row heading, or if then I select col L the screen then shows from col E?? Yet if I manually move the curser using the arrow keys I can get Col L to be the first left hand Col.

    Many thanks

    Badger

  2. #2
    mpeplow
    Guest
    I don't know about everyone else, but I lost you round about here

    or if then I select col L the screen then shows from col E?? Yet if I manually move the curser using the arrow keys I can get Col L to be the first left hand Col.

    Maybe if you posted a pic or file of your spread sheet and the macro code that you are using it would be a little easyer to help you.

  3. #3
    Forum Contributor
    Join Date
    11-20-2005
    Posts
    256
    Quote Originally Posted by BadgerMK
    Hi All

    I wonder if any kind soul can help me......

    I'm trying to automate putting column L to the far left (ie cant see cols A-K, but not wanting them hidden) and then putting Freezepane on at col M.

    But everytime I code to move the activecell from say col B to AY, Col L disappears behind the row heading, or if then I select col L the screen then shows from col E?? Yet if I manually move the curser using the arrow keys I can get Col L to be the first left hand Col.

    Many thanks

    Badger
    Hi,

    Don't know if i understand correctly what you want but see if this is anywhere close:

    Private Sub Worksheet_Activate()
    ActiveWindow.ScrollColumn = Range("L1").Column
    ActiveSheet.Range("M1").Select
    ActiveWindow.FreezePanes = True
    End Sub

    Put it in the Sheet Module
    Thx
    Dave
    "The game is afoot Watson"

  4. #4
    Registered User
    Join Date
    02-10-2006
    Posts
    20

    Freezepanes problem

    That works a treat Desert, ur a diamond thank you very much

    Badger

  5. #5
    Forum Contributor
    Join Date
    11-20-2005
    Posts
    256
    Quote Originally Posted by BadgerMK
    That works a treat Desert, ur a diamond thank you very much

    Badger
    Hi Badger,

    Glad it worked for you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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