can't move focus to the control because it is invisible not enabled

Rodney Jorgensen

Active Member
Joined
Nov 9, 2007
Messages
411
I have not programed any Macros for about a year and I am now trying to create a form to help me in my new job. When I try to call the form in Excel 2007 I get the Run time error of "can't move focus to the control because it is invisible not enabled"

What am I missing here? Do I need to set up something differently in the trust center settings?

I have programmed a macro already in the workbook to format some data and it works.

Thanks in advance for your help!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi Rodney,

From your post I assume you have already built the form.

Have you checked the controls on the form to see if the first control to get focus is actually disabled or hidden by default?
 
Upvote 0
I was able to track down a calendar control that I tried. It was invisible and I found it, removed it and the form opens.

Thanks
 
Upvote 0

Forum statistics

Threads
1,212,927
Messages
6,110,714
Members
448,294
Latest member
jmjmjmjmjmjm

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top