+ Reply to Thread
Results 1 to 9 of 9

NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

  1. #1
    Registered User
    Join Date
    04-20-2014
    Location
    London
    MS-Off Ver
    Windows Excel 2010
    Posts
    79

    NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    Hi guys,

    I have the following macro which allows you to enter a row of data (Only one row will be visible), then you press a command button and the row of data is inputted into another work sheet.

    * I would like a way of ensuring that Excel checks the whole row of data has been filled out before allowing itself to run the following macro (which copies and paste all the data across to the other worksheet).

    Here is the code I have so far. (Just to advise this macro starts on the "AddRecord" sheet.

    Please someone out there if you can help me I would be forever grateful!!! :D
    Please Login or Register  to view this content.
    Happy Easter!
    Last edited by Dremzy; 04-20-2014 at 01:10 PM.

  2. #2
    Registered User
    Join Date
    04-20-2014
    Location
    London
    MS-Off Ver
    Windows Excel 2010
    Posts
    79

    Re: NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    12345678910
    Last edited by Dremzy; 04-23-2014 at 08:13 AM.

  3. #3
    Registered User
    Join Date
    02-06-2014
    Location
    Jubail, KSA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    Well, brother! better to pass me your sample excel workbook where you applied this coding, for further needful, which we may try our best.
    Thanks

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    Hi, Dremzy,

    welcome to ExcelForum. Please consider to wrap your procedure with code-.tags according to Forum Rulke #3 for better readability.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  5. #5
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    Hi Dremzy, welcome to the forums. Please take some time to read the forum rules if you haven't. Rule #3 in particular, you should use
    Please Login or Register  to view this content.
    多么想要告诉你 我好喜欢你

  6. #6
    Registered User
    Join Date
    04-20-2014
    Location
    London
    MS-Off Ver
    Windows Excel 2010
    Posts
    79

    Re: NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    12345678910
    Last edited by Dremzy; 04-23-2014 at 08:13 AM.

  7. #7
    Registered User
    Join Date
    04-20-2014
    Location
    London
    MS-Off Ver
    Windows Excel 2010
    Posts
    79

    Re: NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    12345678910
    Last edited by Dremzy; 04-23-2014 at 08:13 AM.

  8. #8
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    Hi, Dremzy,

    Your opening post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

    Ciao,
    Holger

  9. #9
    Registered User
    Join Date
    04-20-2014
    Location
    London
    MS-Off Ver
    Windows Excel 2010
    Posts
    79

    Re: NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    12345678910
    Last edited by Dremzy; 04-23-2014 at 08:13 AM.

  10. #10
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    Hi, Dremzy,

    I have also learnt how to place VBA in the forum.
    But failed to do so in the opening post of this thread as you have been asked to do.

    Is there a way i can delete this thread?
    If I remember correctly the thread opener may delete a thread only if no answer has been given. If any answer to that thread has been given only Mods and Admins have the right to close or delete a thread.

    This is a duplicate thread and I have resolved it in another thread.
    Sorry but this is the first of the threads you posted. So how could this be a duplicate?

    Ciao,
    Holger

  11. #11
    Registered User
    Join Date
    04-20-2014
    Location
    London
    MS-Off Ver
    Windows Excel 2010
    Posts
    79

    Re: NEED HELP! Code that checks all data has been entered before my VBA Macro Runs!

    12345678910
    Last edited by Dremzy; 04-23-2014 at 08:13 AM.

+ 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. Executing a bouncing sheep whilst the code/macro runs
    By mike_vr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-03-2013, 08:21 AM
  2. Worksheet_Change Runs Differently When Data Entered vs. Cell Cleared
    By danderson2692 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2013, 02:39 PM
  3. [SOLVED] code behind the command button that runs another macro
    By Vogelmann in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2012, 06:04 AM
  4. Replies: 2
    Last Post: 04-18-2006, 02:45 PM
  5. [SOLVED] Halt all code while macro runs
    By TimT in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2005, 12:05 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