ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to activate "New" tab in Dataform through VB Code (https://www.excelbanter.com/excel-discussion-misc-queries/24309-how-activate-%22new%22-tab-dataform-through-vbulletin-code.html)

shajueasow

How to activate "New" tab in Dataform through VB Code
 
Hi,

Range("A1").Select
ActiveSheet.ShowDataForm

The above lines will show the data form in the active sheet in Excel. How
can it be written so that the form is ready to accept new record. (Or as if
the "New" tab in the form is clicked)

Thank You.

Peo Sjoblom

Check your earlier post for a possible answer

--
Regards,

Peo Sjoblom


"shajueasow" wrote in message
...
Hi,

Range("A1").Select
ActiveSheet.ShowDataForm

The above lines will show the data form in the active sheet in Excel. How
can it be written so that the form is ready to accept new record. (Or as
if
the "New" tab in the form is clicked)

Thank You.



shajueasow

Hi Peo Sjoblom,
It was my mistake, my account in hotmail expired and was not able to get the
response. But now I got the answer and it was terrific.
Thank You

"Peo Sjoblom" wrote:

Check your earlier post for a possible answer

--
Regards,

Peo Sjoblom


"shajueasow" wrote in message
...
Hi,

Range("A1").Select
ActiveSheet.ShowDataForm

The above lines will show the data form in the active sheet in Excel. How
can it be written so that the form is ready to accept new record. (Or as
if
the "New" tab in the form is clicked)

Thank You.





All times are GMT +1. The time now is 03:14 AM.

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