+ Reply to Thread
Results 1 to 3 of 3

Help: Compile error. The code in this project must be updated for use on 64 bit system

  1. #1
    Registered User
    Join Date
    02-22-2022
    Location
    Texas
    MS-Off Ver
    365
    Posts
    2

    Help: Compile error. The code in this project must be updated for use on 64 bit system

    Hello Everyone,

    I am new to this community. The code I wrote showed error msg in 64 bit system. It was running well in 32 bit system. Is it possible that anyone can help me?

    Here is the error msg:
    Compile error. The code in this product must be updated for use on 64 bit systems. Please review and update Declare statements and then mark them with the PtrSafe attribute.

    Here is the code:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Help: Compile error. The code in this project must be updated for use on 64 bit system

    The error relates to the declaration of Windows API calls. The code you posted has no such declarations. Perhaps there's another code module somewhere with API declarations? Look for something similar to this:

    Please Login or Register  to view this content.
    Then you would change it to this:
    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  3. #3
    Registered User
    Join Date
    02-22-2022
    Location
    Texas
    MS-Off Ver
    365
    Posts
    2

    Re: Help: Compile error. The code in this project must be updated for use on 64 bit system

    Hi WBD, thank you so much for help! This is definitely the solution!

+ 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. Replies: 2
    Last Post: 12-17-2021, 07:16 PM
  2. Updated to Windows 10, version 20H2 now getting compile Error!
    By JJFletcher in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2021, 05:14 AM
  3. Compile error The code in this project must be updated for use on 64-bit systems.
    By raj.12_33 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2017, 07:03 AM
  4. [SOLVED] Error in function Compile error: Can't find project or library
    By Motario1 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-12-2013, 02:20 AM
  5. [SOLVED] Compile Error in Hidden Module and Compile Error: Can't find project or library
    By Taislin in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-10-2013, 07:03 PM
  6. [SOLVED] Compile Error: Can't find project or library (1 computer has the error, another does not?)
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 34
    Last Post: 06-28-2012, 12:09 PM
  7. Compile error: The code in this project must be..
    By alphecca in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-10-2011, 02:50 PM

Tags for this Thread

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