Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8746065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:08:12+00:00 2026-06-13T12:08:12+00:00

I want to write some macro specific to Excel 64 bit., the below link

  • 0

I want to write some macro specific to Excel 64 bit.,
the below link says about a macro,
http://msdn.microsoft.com/en-us/library/office/gg264421.aspx

But it says “#if Win64” : Whether it reffers excatly office version..? because Users can install Office 32 bit 2010 in Windows 64 bit OS.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:08:13+00:00Added an answer on June 13, 2026 at 12:08 pm

    But it says “#if Win64” : Whether it reffers excatly office version..?
    because Users can install Office 32 bit 2010 in Windows 64 bit OS.

    The Win64 constant used within a #If…then…#Else is a compiler constant. If it returns true, it indicates that the development environment is 64-bit compatible. Which means code written for a 32-bit environment may have issues.

    In general the only conflict you may encounter between 32 bit VBA and 64 bit VBA is if you attempt to call outside Dlls via Declare. As described in the link you provided, the primary potential issue is this:

    The problem with running legacy VBA code in 64-bit Office is that
    trying to load 64-bits into a 32-bit data type truncates the 64-bit
    quantity. This can result in memory overruns, unexpected results in
    your code, and possible application failure.

    Probably your legacy code would still work, but you make the adjustment to assure that it will work.

    The method of handling this is described in the link you provided where you provide the correct calling method for 64-bit within the #If…then…#Else structure using the compiler constants.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm want to write an excel macro to handle some pop-up from microsoft excel
I want to write some tel numbers to excel file, some of them start
I want to write some integration-tests for my connect-middleware and test it with real-http-requests
I want to write an x-macro that generates some code. The code depends on
I want to write some plugin to analysis Java source code. Which part of
I want to write some configuration in web.config file, that will make my ASP.Net
I want to write some debugging output to the log to review it with
I want to write some games, but I don't have any game development experience.
I want to write some text directly to a file using Flex 3 /
I want to write some bogus text in a file (helloworld text in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.