Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VBA to Detect a Corrupt User Profile...

Posted on 2014-11-19
5
Medium Priority
?
176 Views
Last Modified: 2014-11-25
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
Comment
Question by:DrTribos
  • 3
  • 2
5 Comments
 
LVL 99

Accepted Solution

by:
John Hurst earned 2000 total points
ID: 40454029
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
 
LVL 15

Author Comment

by:DrTribos
ID: 40458987
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
 
LVL 99

Expert Comment

by:John Hurst
ID: 40459342
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
 
LVL 99

Expert Comment

by:John Hurst
ID: 40464320
@DrTribos  - Thank you and I was happy to assist, although I know you were looking for a different outcome.
0
 
LVL 15

Author Comment

by:DrTribos
ID: 40465853
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question