+ Reply to Thread
Results 1 to 8 of 8

it is not locking selected column

  1. #1
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    it is not locking selected column

    it will not lock the column O1:O1048576

    why please let me know

    Please Login or Register  to view this content.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,180

    Re: it is not locking selected column

    Hi, baig123,

    no problems on a check in a new workook. Maybe attach yours to have a look at?

    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: it is not locking selected column

    the code showing the same

    i am trying to lock this column A1,C1,D1,E1,F1,G1,H1,I1,K1,L1,M1,N1,O1

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,180

    Re: it is not locking selected column

    Hi, baig,
    how could anybody from us see whatīs happening in your workbook if you donīt attach it but post that there is a problem? Would you be able to help on that issue for another user?

    Please Login or Register  to view this content.
    Ciao,
    Holger

  5. #5
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: it is not locking selected column

    see i have attached my Sheet

    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,180

    Re: it is not locking selected column

    Hi, baig,

    Please Login or Register  to view this content.
    No full column given here but just one cell.

    Ciao,
    Holger

  7. #7
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: it is not locking selected column

    i have used full name
    like this also
    O1:O1048576

  8. #8
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,180

    Re: it is not locking selected column

    Hi, baig123,

    as the code is part of a bigger code regarding download from a database I canīt test that part, teh mentioned part just works lijke expoected and confirmed from my side (although I use a different one without Selecting the cells before doing any action on these).

    Ciao,
    Holger

+ 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. Locking Selected Cells When Form Button is Pressed. HELP!
    By naila.obnial in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-09-2013, 03:09 AM
  2. VB for locking and unlocking selected cell
    By cwwaicw311 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2010, 04:14 AM
  3. locking column a only
    By zarathos in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-11-2008, 10:31 AM
  4. Locking cell after inputting data in selected columns
    By shaunkaz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-02-2007, 07:23 PM
  5. Locking column entries to an adjacent linked column
    By Steeljaw in forum Excel General
    Replies: 1
    Last Post: 01-23-2006, 06:50 PM

Tags for this Thread

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