Closed Thread
Results 1 to 4 of 4

Code that adds new rows to a protected sheet

  1. #1
    Registered User
    Join Date
    06-08-2008
    Posts
    2

    Code that adds new rows to a protected sheet

    Hello,

    I'm trying to write some code that adds rows at the users discretion on the press of a button, however it needs to be a protected worksheet

    I can add one row exactly how I want it, then allow the 3 relative defined ranges (rag 1-3) in the new row for editing using the following code-
    Please Login or Register  to view this content.
    Problem is on the next press of the button the code falls over as the Title XXXX has already been used within the "Allow users to edit range" menu.

    Is there a way I reference the title to a cell / add a random generated title on each press of the button? (I also need all the previously added rows to still be editable, so I have to add to the protection list already present)

    Normally I can think my way out of these issues, but this one has got me...

    Thanks

    A
    Last edited by royUK; 06-08-2008 at 08:59 AM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    anakin,

    Welcome to the forum.

    Please take a few minutes to read the forum rules below and then add the link to the other forum where you have posted this question. To understand why we ask you to do so please read the link below called "Message to cross posters"

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    06-08-2008
    Posts
    2

    Point taken....

    still holding out for an answer

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Thread closed for ignoring rules

    VBA Noob

Closed 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