+ Reply to Thread
Results 1 to 17 of 17

hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

  1. #1
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    hELLO SIR

    I m facing a problem in my project..which is following..

    I have a project workbook (d2iproject) in this file 3 sheet (road details, Prarup-1 & Prarup-2)
    RoadDetail sheet link with above 2 sheet.. in project file when we work & press Colum J "Y" then after Colum "K" choose option ... code line show that cell is protected... (as per code we want to unprotected with conditional)

    But if we copy above 3 sheets in a new workbook then my code work perfectly as per my requirement


    Sir pls test or check my code & also tell me where i m mistak. (file is enclosed)


    Thanks in advance.. (Sorry sir i m week in English hope u understand what i want to say)
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Forum expert & guru's pls help me for my code... y Roaddetail sheet is not working in project workbook... whenever same code enable sheet work fine outside this project file...

  3. #3
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Forum Expert'/ Guru's pls help me above problem.. i try lot of time but can't success

  4. #4
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Sir i m using follwing code in my file pls suggest me where i m mistake so that cell show that is protected

    Please Login or Register  to view this content.

    in above code red color part not working properly as per defin in instruction..

    Thanks in advance

  5. #5
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    hello

    Any one can pls help that why my above code not working in my project workbook & same code work in other workbook fine..

    pls help me complete my project..

    Thanks in advance

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    When I download and Open your file it seems to be little bit corrupted.

    When opening the file click the small drop down in the Open Button and select Open and Repair and the file and the code is working fine for me.

    Please check and confirm


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  7. #7
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Hello Sir..

    Thanks for showing intrest in my project
    sir i have requested you to pls attach that file which one u repaird...

    Cos we also again download same file & open and repair... but same problem still same


    problem is this


    when we choose Y in Colum J then Colum K Show that is protected...

    As per code we unproted




    Thanksx
    Last edited by santosh226001; 08-05-2013 at 02:10 AM.

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Please provide the password of that sheet for testing purpose.

  9. #9
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    sir password is also mention in vba code i.e. 123 in road details sheet

    Please Login or Register  to view this content.

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Just remove the password for road details sheet.

    Press Alt+F11 and press Ctrl+G to get the Immediate window and in immediate window paste the below code

    Please Login or Register  to view this content.
    and give enter. Now goto road details sheet and do the selection which will work fine.

  11. #11
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Sir guide me that we remove password through unprotected sheet or..

    remove password line from VBA code???

    Please Login or Register  to view this content.

  12. #12
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    I believe CURRENTLY the sheet is not protected with a password in code by enabling the UserInterfaceOnly:=True.

    In Manual sheet protection we don't have the option to TURN ON UserInterfaceOnly while protecting the sheet.

    So you just unprotect the sheet manually then apply the protection via vba with the help of Immediate Window as I suggested in Post #10 and after applying the protection try to change the cell values of the sheet and check.

  13. #13
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Sixthsense sir we do as per instrucion in post 10# (also enclosing my image shot file that what i m doing) but sir problem is still same one row data unprotect but after that again lock..

    Sir surprising thing that if we copy thease 3 sheet (Road Details, Prarup-1 & Prarup-2) in new workbook then they work perfectly as per my requirement...


    Sir one again thanks for ur giving valuable time for this problem...
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Sixthsense Sir is trying to help ...

    any other one can help/suggest me for my above problem????

  15. #15
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Hi Santosh
    Re PM
    a very large project... but try
    (see module "ThisWorkbook" and "road details")
    Attached Files Attached Files

  16. #16
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    Hello Nilem sir thanks for ur reply..

    sir ur provided file work as per my requirement... thanks a lot..

    u r such a god for me .. who help to make my this project..


    Sir will u help me to understand following Red color line to understand me these code....

    Please Login or Register  to view this content.
    Thanks
    Last edited by santosh226001; 08-06-2013 at 06:40 AM. Reason: add few code line

  17. #17
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: hELP FOR MY PROJECT (IN PROJECT SHEET CODE NOT WORK,, OUTSIDE THAT CODE WORK)

    oops, there are extra lines in this part of the code
    so should be correctly
    Please Login or Register  to view this content.

+ 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. [SOLVED] Function that concatenates multiple sub-project descriptions based on project code
    By markbpi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-28-2012, 06:49 PM
  2. Work-date project
    By greekboyuk in forum Excel General
    Replies: 0
    Last Post: 05-17-2012, 08:54 AM
  3. Cross-referencing help for work project
    By clayferg in forum Excel General
    Replies: 1
    Last Post: 07-29-2009, 04:47 PM
  4. If i entered any project code in sheet2 display all data of that project
    By koolguys4u in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-21-2009, 03:09 AM
  5. [SOLVED] Beginner needs help w/first work project
    By Buckwheat in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-12-2005, 04:06 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