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

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
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,215,201
Messages
6,123,621
Members
449,109
Latest member
Sebas8956

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