Solved

Form in Excel

Posted on 2013-05-31
2
436 Views
Last Modified: 2013-06-01
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
Comment
Question by:pg1533
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
Teknodok earned 500 total points
ID: 39212381
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
 

Author Closing Comment

by:pg1533
ID: 39212553
Thank you
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a serious pitfall that can happen when deleting shapes using VBA.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question