+ Reply to Thread
Results 1 to 4 of 4

Making code written in 32-bit vba compatible with 64-bit vba

  1. #1
    Registered User
    Join Date
    02-16-2012
    Location
    sa
    MS-Off Ver
    Excel 2007
    Posts
    80

    Making code written in 32-bit vba compatible with 64-bit vba

    Good day,

    I am new to excel vba.

    I was wondering how can I make my code (written in excel 2010 32 bit) compatible to run by someone who has excel 2010 64-bit?

    Thanks

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,274

    Re: Making code written in 32-bit vba compatible with 64-bit vba

    It depends. Do you use API calls, or activex controls that aren't from the Forms library? If not, you shouldn't really need any changes.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    02-16-2012
    Location
    sa
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: Making code written in 32-bit vba compatible with 64-bit vba

    I think so yes. It gives 2 errors "1) Compilation error in hidden module: " and 2) Could not load an object because it is not available on this machine

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,274

    Re: Making code written in 32-bit vba compatible with 64-bit vba

    We'll need the code to rectify part 1.
    With part 2 you are probably out of luck. (one of the reasons that Microsoft recommends you stick with 32 bit Excel unless you need to work with really big files is that a lot of controls do not have 64 bit versions - including many MS ones)

+ 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. Making code 32 bit and 64 bit compatible
    By manofcheese in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2014, 12:11 PM
  2. Making .find command compatible with Excel 2011 (Mac)
    By jaywalkar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-13-2013, 11:14 PM
  3. Replies: 2
    Last Post: 04-21-2009, 02:42 PM
  4. Replies: 1
    Last Post: 09-30-2005, 07:05 PM
  5. [SOLVED] Making Cells Automatically Add #'s Instead of being written over
    By UBER_GEEK in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-18-2005, 05:34 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