• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

VBA to Detect a Corrupt User Profile...

Hi All,

From time to time a corrupt user profile causes all sorts of issues in MS Word, see this EE question for example.

I'd like some help to detect corrupt user profiles using VBA, if there is a way...

Thoughts?
0
DrTribos
Asked:
DrTribos
  • 3
  • 2
1 Solution
 
John HurstBusiness Consultant (Owner)Commented:
You do not know if a profile is corrupt until is does not do something you want. Office errors in damaged profiles are quite common. But the profile does not have an error flag saying "I am bad". Further, the Office errors can all be different. There is no one Office error or even one (say) Outlook error.

I am fairly sure you cannot do what you want in VBA or any programming tool.
0
 
DrTribosAuthor Commented:
Hi John,

Sorry the delayed reply - none of my computers would connect to EE, I don't know why but all other websites continued to work :-(

So I realize that MS don't have a flag saying "Oi! Hey You.... Yes you... I'm a corrupt profile"... BUT are there some characteristics of corrupt profiles that could be used to test against?

Perhaps different corruptions cause wildly different issues... perhaps there are some common themes... I'm not sure.  

I was thinking more along the lines of collecting as many of these characteristics as possible and creating a function to test how word behaves against the knowns...
0
 
John HurstBusiness Consultant (Owner)Commented:
I have seen too many different issues and bad profiles are very common. If there was a list of errors, I think we would have seen them by now.
0
 
John HurstBusiness Consultant (Owner)Commented:
@DrTribos  - Thank you and I was happy to assist, although I know you were looking for a different outcome.
0
 
DrTribosAuthor Commented:
No worries, I think it would be possible - perhaps onerous to compile a list of issues to test for but I now realise this is entirely the wrong forum to do so... I don't think EE has a mechanism for that type of activity.

Cheers,
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now