ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Show Data Form (https://www.excelbanter.com/excel-programming/313875-show-data-form.html)

David Holtby

Show Data Form
 

(Excel 2002),
When I launch the built-in data form from the menu (Data - Form) the
calculated fields are currency/number/date formatted as they are in my
the worksheet.

If I launch the form from VBA (Active.Sheet.ShowDataForm) the
calculated cells have their default USA currency/number/date formats.

Anyone got any suggestions how to get the form to display the desired
formats in the VBA launched Form?

:confused:

David


--
David Holtby
------------------------------------------------------------------------
David Holtby's Profile: http://www.excelforum.com/member.php...o&userid=15404
View this thread: http://www.excelforum.com/showthread...hreadid=270137


Jim Rech

Show Data Form
 
See if opening the form this way helps:

CommandBars.FindControl(, 860).Execute

--
Jim Rech
Excel MVP
"David Holtby" wrote in message
...
|
| (Excel 2002),
| When I launch the built-in data form from the menu (Data - Form) the
| calculated fields are currency/number/date formatted as they are in my
| the worksheet.
|
| If I launch the form from VBA (Active.Sheet.ShowDataForm) the
| calculated cells have their default USA currency/number/date formats.
|
| Anyone got any suggestions how to get the form to display the desired
| formats in the VBA launched Form?
|
| :confused:
|
| David
|
|
| --
| David Holtby
| ------------------------------------------------------------------------
| David Holtby's Profile:
http://www.excelforum.com/member.php...o&userid=15404
| View this thread: http://www.excelforum.com/showthread...hreadid=270137
|




All times are GMT +1. The time now is 11:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com