+ Reply to Thread
Results 1 to 6 of 6

Enhancing existing VBA.

  1. #1
    Registered User
    Join Date
    11-07-2019
    Location
    Lithuania
    MS-Off Ver
    Office 2013
    Posts
    52

    Enhancing existing VBA.

    Hello everyone,

    I've managed to acquire and modify a simple macro to find and place a text in adjacent cells. The thing i could really use is some additional functions to it. What i need is to firmly verify that the data was entered where it should be and as it should be. To put it simply. The data is entered-->It is found and timestamped in another worksheet-->Active sheet switches to where the data was placed. If anyone has better ideas or a macro update, i thank you will all my heart.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Enhancing existing VBA.

    What specifically would those "verifications" be you want to verify? We need to know what we're looking for in fine detail before any code can be suggested.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    11-07-2019
    Location
    Lithuania
    MS-Off Ver
    Office 2013
    Posts
    52

    Re: Enhancing existing VBA.

    I would like to verify. Did the VBA produce the output in the correct worksheet

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Enhancing existing VBA.

    The code includes an alert messagebox that pops up when the code entered is not found in one of the other sheets. So NOT seeing that code means the prior "found" code did complete. To my eye this should suffice.

    What has been your experience that makes you suspect this is not working?

  5. #5
    Registered User
    Join Date
    11-07-2019
    Location
    Lithuania
    MS-Off Ver
    Office 2013
    Posts
    52

    Re: Enhancing existing VBA.

    Due to human failure some codes are not where they should be from the start. So when the VBA produces an output it would be good to double check. (Yes this can be manual, but most of the time more then 30 codes are entered and there are more then 30 sheets in the document.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Enhancing existing VBA.

    Well, maybe you could a CHANGE LOG worksheet to your workbook and record what the changes made are.

    A: Code entered
    B: Sheet name where it was located
    C: Cell address where it was located, or row number, whatever.
    D: Whatever else would make your "log" complete.


    You'd also need to add some code to your original macro to skip the log sheet when searching:
    Please Login or Register  to view this content.

+ 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. Enhancing multipage tabs
    By torachan in forum Tips and Tutorials
    Replies: 6
    Last Post: 10-31-2018, 03:58 AM
  2. Gantt Chart - Enhancing a Project Plan
    By bdav1216 in forum Excel General
    Replies: 1
    Last Post: 08-02-2016, 04:12 PM
  3. Enhancing auto search suggestion enabled combobox.
    By Zahid Marwat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2016, 01:35 AM
  4. Enhancing FIND/REPLACE script
    By terryhenderson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2015, 06:44 AM
  5. [SOLVED] Enhancing formula for extracting text from a single cell
    By Mizuki in forum Excel General
    Replies: 2
    Last Post: 07-10-2012, 12:46 AM
  6. Enhancing an Excel Database
    By CharlesEric in forum Excel General
    Replies: 1
    Last Post: 07-24-2009, 12:44 PM
  7. [SOLVED] Enhancing Excel's Random Number Generator!
    By Mike in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2005, 10: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