+ Reply to Thread
Results 1 to 3 of 3

Different Results from the Same Macro

  1. #1
    Registered User
    Join Date
    09-13-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    14

    Different Results from the Same Macro

    Hello:

    At the end of this posting, I have VBA code for a macro that I created. This macro was created in Excel 2007 macro. What's puzzling me is that this macro gives different results everytime that it is used. It is run against the same set of data, so I do not understand why it is producing different data in the spreadsheet.

    The attached macro code "runs against data" in a spreadsheet in order to generate another spreadsheet.

    Different results are given every time the macro runs. That's not good. The results need to be consistent. Is there anything in the attached code that can be modified to allow for consistency?

    In terms of what is being seen different each time the macro runs, I am seeing different numbers of rows, different records in the columns, .....just no consistency.

    Thanks!

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Different Results from the Same Macro

    Post a small subset of data we can use the code on.

    What you should do as weel is specify what the code should be doing.
    I think the code can be optimizes once the requirements are known.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Registered User
    Join Date
    09-13-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Different Results from the Same Macro

    disregard.....I figured it out.....it's an issue with the dataset inside of the accounting system.

    I apologize, for the bother.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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