How do I find the UpDown control in Excel 2007

I created an Excell application using Excel 2003 and Visual Basic 6. The application uses an UpDown control to move items in a list box. When I open the application in Excel 2007 I get the error message above. When I click on a button that opens a form the initialization routine attempts to set the visibilty of the UpDown control to false, and I get a run-time error: "Variable not defined," which identifies the line "btnUpDown.Visible = False." Upon further examination the UpDown control is missing from the form and it does not exist in the Controls Toolbox. I found this to be true on all the Excel 2007 instalations in my office.

How do I add this cotrol to Excel 2007?
rmil7890Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jeveristCommented:
Hi rmil7890,

The control (v6) works fine on my installation and is also available from the Controls Toolbox (via right-click, Additional Controls...).  Look for the 'MSCOMCT2.OCX' control library on your systems.  You may need to register it from Start>Run>:

regsvr32 /v "C:\Windows\system32\MSCOMCT2.OCX"

Jim
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rmil7890Author Commented:
Thanks very much Jim. The file mscomct2.ocx was missing on the test machine. I copied it from my dev machine and registered it, and now the application works.

Ron
0
rmil7890Author Commented:
Thanks, Jim.
0
jeveristCommented:
Ron,

You're welcome and thanks for the grade!

Jim
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.