Solved

Excel VBA Tools-->References "Missing"

Posted on 2014-01-17
6
11,748 Views
Last Modified: 2014-01-17
Hi,

I have inherited a complex spreadsheet.

I note that in Tools-->References I have a value

MISSING: Microsoft Windows Common Controls 2 6.0(SP4)

I suspect that this may be causing problems else.

How do I rectify?

Thanks!
0
Comment
Question by:Patrick O'Dea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 167 total points
ID: 39788290
HI,

you can download it here

http://www.microsoft.com/en-us/download/details.aspx?id=10019
 
Regards
0
 
LVL 30

Assisted Solution

by:gowflow
gowflow earned 167 total points
ID: 39788309
This means that the file
mscomct2.ocx is missing from your system but for sure you have a newer version.

do the following:

I presume that this excel has a userform and this reference is to load controls. so first under refrences you should have Additional Controls click on that. then it will display only the selected ones what you do is remove the tick to view all the refrences and go down in the list till you find the first occurrence of
Microsoft Windows Common Controls 2 6.0

the one I have in my system and you should hv the same is
Microsoft Windows Common Controls 2 6.0(SP6)

so make sure you unticked the Missing reference so you can now tick this reference if you have a later one then tick it it wont harm.

Press ok exit excel without saving then re-open the excel it may work or tell you still missing.

Let me know
gowflow
0
 
LVL 22

Assisted Solution

by:Ejgil Hedegaard
Ejgil Hedegaard earned 166 total points
ID: 39789095
I have seen this happen on several computers.

Often the reference is not marked missing, but the controls wont load for programs that has been working for a long time.

It is normally happening just after an automatic windows update, that the reference suddenly is broken.

It can be both files MSCOMCTL.OCX and MSCOMCT2.OCX

After trying several ways to solve it, reinstall, download and gowflows solution that sometimes helps, but not always, I have found this method that so far solve the problem.
I disconnect the file from registry with the windows run command
regsvr32 /u mscomctl.ocx
and connect it again with
regsvr32 mscomctl.ocx
Similar with the file mscomct2.ocx
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 30

Expert Comment

by:gowflow
ID: 39789326
well this was my next suggestion in case what I proposed did not work is to unregister the file and re-register it again.

same as was suggested but with a slight difference you need to provide the full path of the file. If you have Win 7/8 64bits then it should be

regsvr32 /u C:\windows\sysWOW64\mscomctl2.ocx
regsvr32 C:\windows\sysWOW64\mscomctl2.ocx

if you have a 32bits operating system then
regsvr32 /u C:\windows\system32\mscomctl2.ocx
regsvr32 /u C:\windows\system32\mscomctl2.ocx


gowflow
0
 

Author Comment

by:Patrick O'Dea
ID: 39789380
Hi folks!

I should mention I am using the "cloud" Excel 365 Home Premium.

The mscomctl2.ocx file DOES NOT exist in the SysWOW64 path.

However, the here is a mscomctl.ocx (note no "2" in filename).  
I disconnected this and reconnected.

Interestingly, it is dated 2005 and the filename is all in uppercase.

I am re-booting PC to see if it works...
Excel-References-tmp.pdf
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 39789455
Thanks Folks,

I will award points and close this call.

(Not quite solved yet)

I will open another one with an attachment - that may or may not help!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

752 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