Question Reset default menu bar (1 Viewer)

md-rahim

Registered User.
Local time
Tomorrow, 05:55
Joined
Dec 7, 2012
Messages
36
I just change my default menu bar in access from start up option. And created a new menu with some sub menu which I want. But when I remove all tick mark from different toolbar and only select my new menu, I can't show default menu bar again. How I can show default menu bar???

Here is an attachment

Please help me.
 

Attachments

  • for access forum.mdb
    548 KB · Views: 79

JHB

Have been here a while
Local time
Tomorrow, 00:55
Joined
Jun 17, 2012
Messages
7,732
Keep "Shift" down when you open the database.
 

md-rahim

Registered User.
Local time
Tomorrow, 05:55
Joined
Dec 7, 2012
Messages
36
thanks JHB
 

md-rahim

Registered User.
Local time
Tomorrow, 05:55
Joined
Dec 7, 2012
Messages
36
but can u help me on another topic? that is how I can export some selected data by select Specific year and Month from this attached database?

Please help me.
 

JHB

Have been here a while
Local time
Tomorrow, 00:55
Joined
Jun 17, 2012
Messages
7,732
Where do you want to export the data too, from where comes data and what do you want to select?
Show some samples of data + how you want the results.
 

md-rahim

Registered User.
Local time
Tomorrow, 05:55
Joined
Dec 7, 2012
Messages
36
want to export data in excel, data will enter through this attached entry form. And I want data export by selecting year & month through selection box. Is it possible??
 

JHB

Have been here a while
Local time
Tomorrow, 00:55
Joined
Jun 17, 2012
Messages
7,732
Yes it is possible, look in the Help-file under "DoCmd" and "TransferSpreadsheet Method"
 

JHB

Have been here a while
Local time
Tomorrow, 00:55
Joined
Jun 17, 2012
Messages
7,732
Open a module or form - go to the code window, hit "F1" or choose "Help" from the menu-line.
From the Help-file:
The TransferSpreadsheet method carries out the TransferSpreadsheet action in Visual Basic. For more information on how the action and its arguments work, see the action topic.
Syntax
DoCmd.TransferSpreadsheet [transfertype][, spreadsheettype], tablename, filename[, hasfieldnames][, range]
The TransferSpreadsheet method has the following arguments.
Argument Description transfertype One of the following intrinsic constants: acImport (default)
acExport
acLink If you leave this argument blank, the default constant (acImport) is assumed. spreadsheettype One of the following intrinsic constants, or equivalent numeric settings: 0 acSpreadsheetTypeExcel3 (default)
6 acSpreadsheetTypeExcel4
5 acSpreadsheetTypeExcel5
5 acSpreadsheetTypeExcel7
8 acSpreadsheetTypeExcel8
8 acSpreadsheetTypeExcel9
2 acSpreadsheetTypeLotusWK1
3 acSpreadsheetTypeLotusWK3
7 acSpreadsheetTypeLotusWK4
4 acSpreadsheetTypeLotusWJ2 — Japanese version only Note You can link to data in a Lotus 1-2-3 spreadsheet file, but this data is read-only in Microsoft Access. You can import from and link (read-only) to Lotus .WK4 files, but you can't export Microsoft Access data to this spreadsheet format. Microsoft Access also no longer supports importing, exporting, or linking data from Lotus .WKS or Microsoft Excel version 2.0 spreadsheets by using this method. If you leave this argument blank, the default constant (acSpreadsheetTypeExcel8) is assumed. tablename A string expression that's the name of the Microsoft Access table you want to import spreadsheet data into, export spreadsheet data from, or link spreadsheet data to, or the Microsoft Access select query whose results you want to export to a spreadsheet. filename A string expression that's the file name and path of the spreadsheet you want to import from, export to, or link to. hasfieldnames Use True (–1) to use the first row of the spreadsheet as field names when importing or linking. Use False (0) to treat the first row of the spreadsheet as normal data. If you leave this argument blank, the default (False) is assumed. When you export Microsoft Access table or select query data to a spreadsheet, the field names are inserted into the first row of the spreadsheet no matter what you enter for this argument. range A string expression that's a valid range of cells or the name of a range in the spreadsheet. This argument applies only to importing. Leave this argument blank to import the entire spreadsheet. When you export to a spreadsheet, you must leave this argument blank. If you enter a range, the export will fail.
Remarks
You can leave an optional argument blank in the middle of the syntax, but you must include the argument's comma. If you leave a trailing argument blank, don't use a comma following the last argument you specify.
Note You can also use ActiveX Data Objects (ADO) to create a link by using the ActiveConnection property for the Recordset object.
Another way to find generel information is the "Internet".
 

Users who are viewing this thread

Top Bottom