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 885947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:59:28+00:00 2026-05-15T12:59:28+00:00

I noticed that Office 2010 comes with Visual Basic for Applications 7.0. However I

  • 0

I noticed that Office 2010 comes with Visual Basic for Applications 7.0. However I can’t seem to find much documentation on what changes were made. Does anyone have a summary of the changes, or any resources describing the differences?

  • 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-05-15T12:59:29+00:00Added an answer on May 15, 2026 at 12:59 pm

    There’s not a whole lot that has changed between VBA6 and VBA7. VBA7 was introduced to support 64-bit versions of both Office and Windows (see below on what those differences are). Here are the key changes:

    1. 64-bit support, primarily for API
      calls
      . This is both used to make your code work with your OS/Office version as well as others’ (i.e. someone on Office 2003/WinXP)

      • If you are on a 64-bit version of
        Windows, but are on a 32-bit version
        of Office, you can declare API calls
        like below.
        .

        #If Win64 Then
            Declare PtrSafe Function GetTickCount64 Lib "kernel32"() As LongLong
        #Else
            Declare PtrSafe Function GetTickCount Lib "kernel32" () As Long
        #End If
      • If you are on a 64-bit version of
        Windows, and are on a 64-bit version
        of Office, you can declare API calls
        like:
        .

        #If VBA7 Then
           Declare PtrSafe Function FindWindow Lib "user32" Alias "FindWindowA" ( _
               ByVal lpClassName As String, _
               ByVal lpWindowName As String) As LongPtr
         #Else
           Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal _
               lpClassName As String, ByVal lpWindowName As String) As Long
        #End If
    2. To support this, there are:

      • Three new keywords (2 data types and
        1 modifier): LongPtr, LongLong and PtrSafe

      • One new function: CLngLng() (i.e.
        Int64)

      • The new compilation constants as used
        above
        : VBA7 and Win64

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

Sidebar

Ask A Question

Stats

  • Questions 470k
  • Answers 470k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The binding looks fine. I assume that you put the… May 16, 2026 at 2:53 am
  • Editorial Team
    Editorial Team added an answer Apart from the naming convention issue which other answers have… May 16, 2026 at 2:53 am
  • Editorial Team
    Editorial Team added an answer IE's stacking order algorithm is messed up. You have to… May 16, 2026 at 2:53 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.