Hello,
If you still have other PCs where Office is installed and activated, you can check which Microsoft account is associated with those installations. Unfortunately, Microsoft does not display the full product key from an installed Office application or from your Microsoft account online.
On a PC where Office is still installed and activated:
1. Open Word or another Office application.
2. Go to File > Account.
3. Under Product Information, look for the Belongs to section, which shows the Microsoft account associated with that Office installation.
You can then sign in to that account and check:
https://account.microsoft.com/services
to see whether your Visio or Project licenses appear there. If the products were redeemed with that account, you should be able to reinstall them from the Services & subscriptions page.
If you have several product keys, the account associated with the software is often more useful than the original key for reinstalling. Microsoft generally does not allow you to view the full redeemed product key from your account.
Since you purchased Visio and Project several years ago, I would recommend checking the Microsoft accounts associated with any PCs where Office is still working, as well as any Microsoft accounts you may have used when you originally redeemed the products. This may help identify the account that contains the Visio and Project licenses.
I hope this helps.