Search notes:

PowerShell module MS-Office: grant-msOfficeVBAAccess

The function grant-msOfficeVBAAccess of the PowerShell module MS-Office grants access to the VBA object model by setting AccessVBOM to 1 under an Office's registry key (for example HKEY_CURRENT_USER\Software\Microsoft\Office\X.Y\Excel\Security)
Without granted access, VBA code might throw Programmatic access to Visual Basic Project is not trusted.

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/Windows/...', 1758203021, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/modules/personal/MS-Office/grant-msOfficeVBAAccess(34): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78