PC Review


Reply
Thread Tools Rate Thread

Macro giving different results each time it is run - bugs maybe !?

 
 
=?Utf-8?B?UmljaGll?=
Guest
Posts: n/a
 
      28th Mar 2007
Hi there,

A month or so ago I created a macro by recording and saved it and have been
using it well. Until recently the results have been incorrect. part of the
macro is sorting the different products into groups and for some reason it is
doing this incorrectly. Every time I run the macro the sorting results are
different from the previous run and the information on the sorting is the
same always.

Any ideas ??
--
Niall
 
Reply With Quote
 
 
 
 
Bob Flanagan
Guest
Posts: n/a
 
      28th Mar 2007
Niall, recorded macros are just a starting point. They often refer to the
wrong ranges when you want to run them on a different data set. Sometimes
they are set for relative recording and some times absolute. It sounds like
you need to do a lot of editing to your macro to get it work.

Bob Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Richie" <(E-Mail Removed)> wrote in message
news:47CDF786-3843-4CB3-B059-(E-Mail Removed)...
> Hi there,
>
> A month or so ago I created a macro by recording and saved it and have
> been
> using it well. Until recently the results have been incorrect. part of
> the
> macro is sorting the different products into groups and for some reason it
> is
> doing this incorrectly. Every time I run the macro the sorting results
> are
> different from the previous run and the information on the sorting is the
> same always.
>
> Any ideas ??
> --
> Niall



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
results of a macro must be put in new row each time it is run andrewc Microsoft Excel Misc 2 5th Jan 2009 08:26 PM
Why isn't this macro giving me proper results? =?Utf-8?B?R2lyaXNo?= Microsoft Excel Programming 3 9th Sep 2005 07:56 PM
query giving odd results =?Utf-8?B?U2hhbmlu?= Microsoft Access Queries 2 13th Oct 2004 03:25 PM
Re: Query isn't giving all results Tom Ellison Microsoft Access Queries 6 23rd Jul 2004 10:30 PM
RunApp macro giving odd results Barry Microsoft Access Macros 0 30th Jul 2003 07:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:46 PM.