+ Reply to Thread
Results 1 to 3 of 3

64-bit office compatibility issues - Macro keeps crashing

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    39

    64-bit office compatibility issues - Macro keeps crashing

    Hi All

    The code below works perfectly on MS Excel 32-bit, but since upgrading to 64-bit it constantly crashes. I think this is happening at the .value = .value stage, I have tried copy/paste but no luck...

    I have been researching the problem and believe it may be related to 'declarations and pointers'? I have changed Long to Longptr but that doesn't seem to have fixed the issue so any help/advice as always would be greatly appreciated

    Please Login or Register  to view this content.

  2. #2
    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,447

    Re: 64-bit office compatibility issues - Macro keeps crashing

    Please post a sample workbook with some typical but non-sensitive data and the code.


    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


  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: 64-bit office compatibility issues - Macro keeps crashing

    Hello Dgp2012,

    Array Formulas can take some time to calculate. VBA will not wait until these calculations are done. Perhaps adding a delay to code will help.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. Mac Office 2011 macro compatibility?
    By CCharles in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2012, 05:35 PM
  2. [SOLVED] Compatibility issues
    By Gzdnkh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-06-2012, 02:09 AM
  3. Macro Compatibility Issue : Office 2003 and 2007
    By angeld27 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-19-2011, 01:03 PM
  4. [SOLVED] Compatibility issues
    By Bostjan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2006, 06:10 AM
  5. [SOLVED] Office 2003 keeps Crashing
    By phil Evans via OfficeKB.com in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-11-2005, 06:06 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