+ Reply to Thread
Results 1 to 2 of 2

Calender autorange problem on locked worksheet

  1. #1
    Registered User
    Join Date
    10-04-2008
    Location
    uk
    Posts
    17

    Calender autorange problem on locked worksheet

    Gents

    I've a small problem. I'm using the following code to conditionally lock parts of my worksheet dependant on a lock/unlock statement.

    I also want to use a popup calendar which i found on this site (apologies for not recalling whose)

    The problem appears to be that the lock code prevents the calendar from autofitting thus generating a "autofit method of range class" error/

    What I'd like to do is either get the lock/unlock code to accept the date input or alter the calendar code to prevent the autofit error

    first the lock/unlock code

    Please Login or Register  to view this content.
    Now the calendar code, the point that the debug stops is in red.
    Please Login or Register  to view this content.
    Any help is appreciated, I'm happy that the conflict is with the lock/unlock as the calendar works lovely without it.
    Last edited by simpo067; 04-05-2009 at 07:29 PM.

  2. #2
    Registered User
    Join Date
    10-04-2008
    Location
    uk
    Posts
    17

    Re: Calender autorange problem on locked worksheet

    Ive just removed the offending line and it still seems to work fine so no worries, however if anyone has a more elegant solution it would still be appreciated

+ 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