Consulting

Results 1 to 4 of 4

Thread: Drop down problems

  1. #1
    VBAX Regular
    Joined
    May 2013
    Posts
    10
    Location

    Drop down problems

    Hi, I'm looking for some help. I'm trying to update a spreadsheet to prevent other users from copying and pasting information from one a cell in one spreadsheet, to a dropdown cell, overwriting information in that cell. HOWEVER there are other cells within the same sheet, that I do want the ability to copy and paste information in, just need to stop it in the drop down column. If there is a way of doing this through the options excel already has, rather than doing vba script to diable cut/copy and paste, that would be better as vba can get a bit messy.

    Hope you guys can help me out, it will be very much appriciated


  2. #2
    VBAX Guru mancubus's Avatar
    Joined
    Dec 2010
    Location
    "Where I lay my head is home" :D
    Posts
    2,644
    welcome to the forum.

    this may help:
    http://spreadsheetpage.com/index.php...s_not_deleted/
    PLS DO NOT PM; OPEN A THREAD INSTEAD!!!

    1) Posting Code
    [CODE]PasteYourCodeHere[/CODE]
    (or paste your code, select it, click # button)

    2) Uploading File(s)
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
    Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.

    3) Testing the Codes
    always back up your files before testing the codes.

    4) Marking the Thread as Solved
    from Thread Tools (on the top right corner, above the first message)

  3. #3
    VBAX Regular
    Joined
    May 2013
    Posts
    10
    Location
    [quote=mancubus]welcome to the forum.

    this may help:



    This code is great, however there does seem still be an issue with the copy and paste problem, it works great when you it in the same workbook, however if you were to open another session of Excel, which unfortunately relates to my problem, it will still allow you to paste from one session on excel to another.

    Is there anyway around this??

    Cheers

  4. #4
    VBAX Guru mancubus's Avatar
    Joined
    Dec 2010
    Location
    "Where I lay my head is home" :D
    Posts
    2,644
    worksheet_change event is not fired when a range is copied from another excel application. but that does not delete the validation.


    that's a bit above my head i think
    PLS DO NOT PM; OPEN A THREAD INSTEAD!!!

    1) Posting Code
    [CODE]PasteYourCodeHere[/CODE]
    (or paste your code, select it, click # button)

    2) Uploading File(s)
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
    Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.

    3) Testing the Codes
    always back up your files before testing the codes.

    4) Marking the Thread as Solved
    from Thread Tools (on the top right corner, above the first message)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •