Excel vb runtime error 1004 at login

Andrejv

New Member
Joined
May 17, 2010
Messages
2
Hi all, I am new to excel vb and I am using a login and password form that I have downloaded for my workbook. It works perfectly until I click on Enter without any information entered in the user name or password boxes.
It then gives me a run time 1004 error which means the instruction on what to do in such an event has not been taken into account.
It also opens the workbook without the user name or password having been entered which defeats the whole object. Is there anyone with an idea of how I could handle this please ? I am getting desperate and to the point where climbing the walls seems quite attractive.
Thank you in advance.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi again, just wanted inform you that I got that sorted. In the end I simply disabled the button until a value was added in the corresponding one.

Regards
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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