ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Automating prodution of test Certificates (https://www.excelbanter.com/excel-programming/329112-automating-prodution-test-certificates.html)

Stuart[_21_]

Automating prodution of test Certificates
 
Early days. I have:

Option Explicit
Sub TestShell()
Dim ShellPath As String, Cmd As String
'need to consider SavePath As String

'MakeCert must be in the ShellPath dir
'the original command line:
Cmd = "makecert -r -pe -n ""CN=Qwerty" & """ -b 01/01/2005 -e
01/01/2099 -eku 1.3.6.1.5.5.7.3.3 -ss myCertificates"""
ShellPath = "F:\Digital Certificates\Certificate Tools\"
Shell ShellPath & Cmd
'how will I know this succeeded?
'Dos would return a 'successful' message
End Sub

Regards.




All times are GMT +1. The time now is 09:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com