Solved

Form in Excel

Posted on 2013-05-31
2
418 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
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
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…

825 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