Forum

Notifications
Clear all

time log

8 Posts
2 Users
0 Reactions
106 Views
(@meytithveasna)
Posts: 70
Estimable Member
Topic starter
 

Hi Expert,

i need a macro when i click command login we have to choose  name to open a "window" and  write a password an push button START.

Then can see in  worksheet this...

Today. Start. End. Time.
25.04.17 | 10:00 | | |

The same with logout for End.

thanks,

 

Hope expert here can give some comments

 
Posted : 26/03/2017 6:47 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi,

Sorry but it's not really clear exactly what you want.

Do you want some code to enter the start and end times when you click some buttons?  That is, the elapsed time between clicks? 

Phil

 
Posted : 30/03/2017 12:21 am
(@meytithveasna)
Posts: 70
Estimable Member
Topic starter
 

Hi,Phil

could you share your code like you said?

thanks

 
Posted : 06/04/2017 11:01 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

I don't clearly understand what you want, you haven't answered my question.

I don't understand how logging in or logging out in Excel is achieved?  What exactly are you trying to do?

I'm not sure if you want a userform or just some dialog boxes asking the user questions.

Can you provide a sample workbook with some screenshots or drawings of what it is you want to do?

Thanks

Phil

 
Posted : 06/04/2017 7:27 pm
(@meytithveasna)
Posts: 70
Estimable Member
Topic starter
 

Hi Phil

 I want to log in by userform with

username and password,i input right username and pw right it let me log in otherwise log out,how code goes?

hope you see

thanks

 
Posted : 07/04/2017 5:41 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi,

What are you logging in to?

How do you check that the username and password are correct?  This would need a database or some sort of lookup in a file/list?

You really need to attempt this for yourself and then I can have a look at what you are trying to do.  The requirements are too vague at the moment for me to attempt to write something that I may spend a lot of time doing, but it isn't what you need.

And how does it all relate back to recording the date and time?

Have you read these posts on userforms?  They might help get you started:

https://www.myonlinetraininghub.com/excel-forms

https://www.myonlinetraininghub.com/excel-forms-insert-update-delete

Phil

 
Posted : 07/04/2017 8:23 pm
(@meytithveasna)
Posts: 70
Estimable Member
Topic starter
 

Hi,Phil

your artcles're  really great

Thank you so much.

 
Posted : 08/04/2017 9:13 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

no worries 🙂

 
Posted : 08/04/2017 6:13 pm
Share: