No Menu on acViewPreview

austin3515

Board Regular
Joined
Dec 19, 2010
Messages
80
When I enter the prgoram by holding down the shift-key, and then click on my command button, all the buttons are there for exporting, printing, etc. But when I enter without holding down the shift-key, there is only a blue bar across the top.

On the Start up menu, I have ALL boxes checked. What am I doing wrong? I have done this lots of times with other buttons/reports, and this has never been an issue before...
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Well, my guess is that has code that removes/hides the toolbars, menus etc.

Try opening that form in design view.

Then goto View>Properties and have a look at the Event tab.

Is there anything entered for any of the events listed?
 
Upvote 0
There is no code in any events in the form. The only code is on this button (and a few other buttons), and it is exclusively:
docmd.openreport "frmForm", acViewPreview

No menubars or toolbars associated

(by the way, my duplicate post was in error, I wasn't trying to game the sysytem :)
 
Upvote 0
Sorry I'm confused, again.

Are you opening a report or opening a database/Access when this is happening?

From what you said in #3 I assumed the problem was when you were opening Access/database.
 
Upvote 0
The problem occurs when I open the database a certain way.

When Open the Database While Holding the Shift Key:
The report works fine. When I open the form, and click the command button to open the report, the printer icon and the export to word/excel icon are both theire.

When I Open the Database "Normal" (i.e., my Start-Up Form opens automatically:
The same steps open the form in preview mode but the print/exoprt icons are NOT there.
 
Upvote 0

Forum statistics

Threads
1,224,514
Messages
6,179,219
Members
452,895
Latest member
BILLING GUY

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