+ Reply to Thread
Results 1 to 3 of 3

Upgraded to new computer does not want shell32.dll looking for 64 bit code to update codes

  1. #1
    Registered User
    Join Date
    01-28-2013
    Location
    Indiana
    MS-Off Ver
    Excel 2010
    Posts
    8

    Upgraded to new computer does not want shell32.dll looking for 64 bit code to update codes

    Good morning,
    I had a new computer upgrade, and found that when I use my old addins, an error occurs:
    "The code in this project must be updated for use with 64-bit systems. Update Declare Statements and then mark them with PtrSafe attribute"

    The code in error reads: "
    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
    "
    What is the fix for this?

    Thank you for any help you may be able to give me.

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Upgraded to new computer does not want shell32.dll looking for 64 bit code to update c

    The preferred fix is to get 64 bit versions of the add-ins but other than that, and as it says
    "The code in this project must be updated for use with 64-bit systems
    The fix is a rewrite. There's plenty of information available with a basic search.
    Last edited by cytop; 10-03-2016 at 07:15 AM.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Upgraded to new computer does not want shell32.dll looking for 64 bit code to update c

    Please Login or Register  to view this content.

+ 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: 7
    Last Post: 08-13-2015, 10:58 AM
  2. [SOLVED] Upgraded computer and now cannot open spreadsheet.
    By kaylac in forum Excel General
    Replies: 7
    Last Post: 10-30-2014, 09:20 PM
  3. Update open worksheet from different computer
    By ball32 in forum Excel General
    Replies: 8
    Last Post: 07-17-2014, 09:38 AM
  4. Need Marco to review row for an array of codes and update cell with yes or no
    By Robert.Bristow in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-11-2013, 01:24 PM
  5. Help linking data sheet to another worksheet. Using codes to update cells
    By Scarlett-83 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-17-2013, 05:30 AM
  6. Problem using shell32.dll in VBA
    By PingPing in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-14-2010, 06:11 AM
  7. Update codes in work sheets
    By paulco01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-19-2007, 12:36 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