+ Reply to Thread
Results 1 to 2 of 2

Help! This code isn't working"

  1. #1
    Registered User
    Join Date
    SP, Brasil
    MS-Off Ver

    Help! This code isn't working"

    Hi! Im new here. Im from Brasil, so my english may be bad.

    Im working in a code for a form. In this code, the user need to enter 2 variables : "Grupo" (a 6 numbers data) and "Cota" (a 3 numbers data). After that, the code need to check in the worsheet if this specific combination of grupo and cota (let's call this the g/c) hasn't been imputed yet. If this specific g/c exists in the workcheet, i whant the user to see a msg called "Já_Existe", if this g/c dosn't exist in the worksheet i need the code to imput this new data.
    Take a look in what i have here:

    Please Login or Register  to view this content.

    If the especifi g/c exist, all comes out great, the user can see a msg saying that there already exist this g/c, but, when a new g/c is inserted, all my excel crash down. What im i doing wrong??

  2. #2
    Administrator arlu1201's Avatar
    Join Date
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Hello Hugo_rmm,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread


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