• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 443
  • Last Modified:

Form in Excel

Hi,

I have attached an excel and it has the form name 'LoginFrm' created. When I try to open this excel then this form should only appear (OR the worksheet should not be visible). Upon giving valid user name and password then the workbook should be open where user would be able to do changes in the worksheets.

This workbook will be connected to the mdb file which is attached. It would be of great help if you could do the needful. Thank you for your time and support.

Regards,
Prashanth
Forecast-Tool.xlsm
ForecastToolDatabase.mdb
0
pg1533
Asked:
pg1533
1 Solution
 
TeknodokCommented:
Try using for following code in workbook.open() event

ThisWorkbook.Windows(1).Visible = False
LoginFrm.Show

Ammended file is attached for your reference

Hope it helps..

Regards,
Teknodok
Forecast-Tool.xlsm
0
 
pg1533Author Commented:
Thank you
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now