The Data Form - A question

MartinL

Well-known Member
Joined
Oct 16, 2008
Messages
1,141
Office Version
  1. 365
Platform
  1. Windows
Can I force the Data Form (built in or Walkenbachs version) when a certain tab is opened.

I will also need to ensure the cursor is placed on A1 or it wont work.

If so how?

Martin
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi Martin,

Is this what you are looking for?

Change the userform name to match yours and right click the sheet you want this activated on and view code >> paste

Code:
Private Sub Worksheet_Activate()
    Application.Goto Range("A1")
    UserForm1.Show
End Sub
 
Upvote 0
Hi Jeff

No, I am trying to get the Excel built in "Data Form" utility to open when I goto the Tab called "Master"

Basically I am trying to coerce users into using this feature.
Of course they can say get stuffed and scroll down 30000 rows to add data in at the bottom, but there you go.

users will be users.

Martin
 
Upvote 0
Code:
Private Sub Worksheet_Activate()
    Application.Goto Range("A1")
    Me.ShowDataForm
End Sub
 
Upvote 0
rorya

my hero (y)

where can I find a list of that kinda stuff?

Martin
 
Upvote 0
In the Object Browser in the VBEditor.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,692
Members
448,979
Latest member
DET4492

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