opening a calculator in access

lubbs65

Board Regular
Joined
Jun 1, 2011
Messages
80
In access you can have the feature when for a date, there is a little calendar to click then you find the date there. Is there a way to do that for a number? I want someone to be able to click a button and have a calculator app open. Then, after typing in whatever equation, the result will automatically get put into the text box rather than having to either manually copy paste the result, or manually type the entire number into the textbox.

Worst case, I would want to create a button that opens up windows calculator (located in program files under accessories) instead of an access calculator
 

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".
Sadly Access doesn't come with a calculator control. So you have to use the Shell command.

Private Sub Command45_Click()
Dim returnvalue, i
returnvalue = Shell("calc.exe", 1)
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,729
Members
452,939
Latest member
WCrawford

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