Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default Application.OperatingSystem returns what?


"Ron Rosenfeld" wrote in message

When VBA Application.OperatingSystem runs on a 64-bit system, it will
report a 32-bit system <sigh. This has been the case for years,
and I don't know if it has been corrected in Office 2010 or in 64-bit
versions of Office.


You can tell if you are running Office 64-bit with the newly added Win64
conditional constant introduced in 2010's VBA7

#If WIN64 = true then
' code for 64 bit Office
#Else
' 32bit code
#End If

That's important as will need to cater differently for most APIs and other
stuff, but only if the code might be run in multiple versions.

Regards,
Peter T



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Index with mulitple value returns and muliple column returns solar+CSE Excel Worksheet Functions 4 June 12th 09 04:43 PM
UDF returns #NUM! with F9 or Application.CalculateFull if sheet notactive Greg[_39_] Excel Programming 11 April 8th 09 02:28 PM
VBA calling a web application that returns XML stainless Excel Programming 4 June 1st 07 11:51 AM
application.match Returns what ben Excel Programming 1 February 16th 05 10:39 PM
Application.OperatingSystem Unix RB Smissaert Excel Programming 0 October 3rd 04 10:38 PM


All times are GMT +1. The time now is 03:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"