In Form View, don't see form objects

Gates Is Antichrist

Well-known Member
Joined
Aug 15, 2002
Messages
1,961
In my quest to further lower the bar of newbie stupidity:

I have Form1. I painted a 1X1 inch command button there after clicking it on the toolbox. (I also attached code to the button.) There is no data; there is no table; there is no RecordSource.

When I View Form (i.e. hit F5), I just see grey - i.e., no button. In wondering if it incredibly happened to be off the edge of the maximixed screen, I tried using Tab and spacebar to get to the button(even if I couldn't see it). No dice. There's no button to be pushed.

I can't find any Falses in Visible or Enable, though they'd make sense as the culprit.

Since there is no data, perhaps it is notable that (in Design mode) the button appears in the "detail" section. Okay, maybe that's it. Well if so, why can't I see it either when I move the button to Page Header?

The deal is, I want to have a control form to make decisions (e.g., select database from listbox), prior to opening a RecordSource.

Help?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Well, your command button would naturally be in the Detail. You can see it in Design View but not in Form View? That's pretty odd, although if you look in the Properties for the button, there will be a "Visible" button. It defaults to yes, but check and see if it's set to "No". What kind of code did you write behind the button? And what other code is in the form?
 
Upvote 0
All good tries. Visible is true. The code never executes (unless Beep, Stop, and the red breakpoint are all liars :) ) so the code doesn't matter.

Other code? Good idea. well, all there is is a form timer (which simply beeps right now).
 
Upvote 0
To recap:

Start In design view
View Toolbox
click command button
draw a command button (in either page header or in Detail)
a useless wizard arises - hit cancel to it
F5 run
Voila - no button
Alt-F4
it's right back there in design

Yes this is bizarre. It's looking like it needs a thinking-out-of-the-box solution.

P.S. There is indeed only 1 form, according to Project Explorer (Ctrl-R).
 
Upvote 0
This self-resolved. Perhaps it was simply a reboot. Since the Antichrist's Wintel henchmen keep startup speeds commensurate with their cluelessness, I am always averse to rebooting :devilish:
 
Upvote 0
That's good, because to be honest, I had not the first clue (aside from repairing your set-up) as to what the solution could have been. The only draw-back is that you can't replicate such a weird problem in case it crops up again, but I'm sure you've already considered that.
 
Upvote 0

Forum statistics

Threads
1,221,526
Messages
6,160,341
Members
451,638
Latest member
MyFlower

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