+ Reply to Thread
Results 1 to 3 of 3

How to avoid copy paste from another excel(notepad...) to my working excel using VBA?

Hybrid View

  1. #1
    Registered User
    Join Date
    06-23-2014
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    2

    How to avoid copy paste from another excel(notepad...) to my working excel using VBA?

    Hi,

    I am totally new to VBA and started my carrier just now. I have a excel that contains tables. In the table all the cells have data validation. I need to write a code to avoid invalid data entries in the cells. If i just type other than the entries that are in the data validation list it will throw an error but if i copy and paste from another excel or notepad it is allowing the invalid entry.

    So please help me how to avoid this.

    Thanks in advance.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: How to avoid copy paste from another excel(notepad...) to my working excel using VBA?

    I am not good in VBA but if you upload a sample workbook with enough sample data in it along with the code you are using, other members may offer you a solution. Because this forum has many VBA experts who can look at the issue you are facing. Without looking at your workbook and the code you are using, its hard for anyone to suggest you a solution.

    To upload a sample workbook click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    06-23-2014
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: How to avoid copy paste from another excel(notepad...) to my working excel using VBA?

    Hi,

    I have attached my working excel. Data validation contains from Account to Device type
    Attached Files Attached Files

+ 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. how to copy selected notepad text and paste it in other notepad with macro
    By Guru232 in forum Excel Programming / VBA / Macros
    Replies: 29
    Last Post: 04-24-2013, 04:43 AM
  2. Replies: 3
    Last Post: 08-09-2012, 04:38 PM
  3. Replies: 10
    Last Post: 01-05-2012, 06:37 AM
  4. Replies: 0
    Last Post: 09-10-2007, 10:22 AM
  5. [SOLVED] Simple Copy and Paste in Excel XP not working constantly
    By Censa in forum Excel General
    Replies: 4
    Last Post: 04-20-2005, 04:06 AM

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