+ Reply to Thread
Results 1 to 5 of 5

Strange Macro behaviour

  1. #1
    Registered User
    Join Date
    10-18-2008
    Location
    Scotland
    Posts
    39

    Strange Macro behaviour

    Hi Folks,

    I have a really strange problem that I just cant explain, I have a macro that sorts door entry data.
    The macro adds the formula you can see in my screen shot and then copies it down the column but as you can see for some reason the formula doesnt return the data it should !!! it qoutes the correct cells but the result is that from row 1.

    Any ideas ? By the way .. this macro did originaly work perfectly.. no changes made to excel or the macro .. it just stopped working properly.

    untitled.jpg

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Strange Macro behaviour

    Is calculation set to Automatic in the workbook?
    If posting code please use code tags, see here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Strange Macro behaviour

    Look in the bottom left hand corner of the picture. It says "calculate" which means Calculation Mode is set to manual. Set it to Automatic.

    That might be related to your macro. A picture of a macro enabled workbook isn't an awful lot of use in diagnosing the cause of a problem ... although, in this case, one of the symptoms is obvious. A sample workbook and/or code is more help in determining the root cause of the problem.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    10-18-2008
    Location
    Scotland
    Posts
    39

    Re: Strange Macro behaviour

    Guys,

    Spot on, thanks for that. Ive no idea how it got set to manual but im so glad it was so simple !!

    Thanks again

    Steve

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Strange Macro behaviour

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. excel macro: permission denied (error 70). Strange behaviour
    By kappa85 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 03-08-2013, 08:30 AM
  2. Strange Behaviour
    By Mark@Work in forum Excel General
    Replies: 2
    Last Post: 09-30-2008, 12:22 PM
  3. [SOLVED] Strange if(***) behaviour?
    By Excel 2003 - SPB in forum Excel General
    Replies: 6
    Last Post: 08-06-2006, 12:35 PM
  4. find and replace macro strange behaviour
    By Nicawette in forum Excel General
    Replies: 3
    Last Post: 06-13-2006, 03:55 PM
  5. help with strange behaviour of macro
    By funkymonkUK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2006, 08:25 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