Search notes:

Microsoft.Office.Interop.….Constants (enum)

For each Office application like Excel or Access, there is a corresponding enum that stores the appllication's global constants.
The following example demonstrates how the constants of Excel can be read:
[Reflection.Assembly]::LoadWithPartialname("Microsoft.Office.Interop.Excel")

$xlsConstants = [Microsoft.Office.Interop.Excel.Constants]
$xlsConstants.DeclaredMembers | foreach-object {
  if ($_.name -ne 'value__') {
    '  {0,-30} {1,5}' -f $_.name, $xlsConstants.GetDeclaredField($_.name).GetRawConstantValue()
  }
}
The value of a constant with a given name can be accessed like so:
[Microsoft.Office.Interop.Excel.Constants].GetDeclaredField('xlVeryHidden').GetRawConstantValue()
I am not sure if there is a shorter way to achieve this.

See also

Determining the values of any VBA enum.
Microsoft.Office.Interop.Excel

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1759298151, '216.73.216.88', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/dot-net/namespaces-classes/Microsoft/Office/Interop/_application_/Constants/index(56): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78