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

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
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,215,042
Messages
6,122,810
Members
449,095
Latest member
m_smith_solihull

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