Тёмный

Enter end time for barcode tasks not completed by end of day in Excel 

Barb Henderson
Подписаться 37 тыс.
Просмотров 710
50% 1

Enter end time for barcode tasks not completed by end of day in Excel
Free templates and templates with code are available for purchase for $50 USD
www.easyexcela...
Addition Templates may be available on request
Click this link to check out my one-on-one training www.calendly.co...
For more help visit my website www.easyexcelanswers.com or email me at easyexcelanswers@gmail.com.
Contact me regarding customizing this template for your needs.
Click for online Excel Consulting www.calendly.co...
Are you struggling to update your Microsoft SQL Server data?
I recommend using well-known Excel to update and manage your data in SQL Server using the SQL Spreads Excel add-in.
Click sqlspreads.com... to find out how SQL Spreads works best for non-technical end users and download our free 14-day trial. You will get two months free when purchasing an annual subscription using our link.
I am able to provide online help on your computer at a reasonable rate.
Check out Crowdcast for creating your webinars
app.linkmink.c...
I use Tube Buddy to help promote my videos
Check them out
www.Tubebuddy....
Follow me on Facebook
/ easyexcel.answers
IG @barbhendersonconsulting
You can help and generate a translation to you own language
www.youtube.com...
*this description may contain affiliate links. When you click them, I may receive a small commission at no extra cost to you. I only recommend products and services that I've used or have experience with.
How to insert VBA code in Excel • How to insert VBA code...
Private Sub Workbook_Open()
Call endtime
End Sub
Sub endtime()
Dim r As Long
Dim Starttime, endtime As Date
r = 5
'endtime = Sheet1.Cells(r, 4).Value
For r = 5 To 20
Starttime = Sheet1.Cells(r, 3).Value
If Starttime = "" Then Exit Sub
If Sheet1.Cells(r, 4).Value = "" Then
If CDate(Starttime) less than Date Then
Sheet1.Cells(r, 4).Value = (Date - 1) & " " & "17:00"
Timein = CDate(Cells(r, 3).Value)
Timeout = CDate(Cells(r, 4).Value)
Total = TimeValue(Timeout) - TimeValue(Timein)
Debug.Print Total
Debug.Print Format(Total, "hh:mm:ss")
Sheet1.Cells(r, 5).NumberFormat = "hh:mm:ss"
Sheet1.Cells(r, 5).Value = Total
Debug.Print "Number of hours = " & Total * 24
jobn = Sheet1.Cells(r, 2).Value
sname = Sheet1.Cells(r, 1).Value
Call totalhours(jobn, sname, Total)
End If
End If
Next r
End Sub

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
EASILY Make an Automated Data Entry Form in Excel
14:52
Что думаете?
00:54
Просмотров 735 тыс.
Они захватят этот мир🗿
00:48
Просмотров 920 тыс.
Create and use a toggle button in Excel
5:20
Просмотров 2,7 тыс.
Schedule follow up for clients in Excel
6:57
Excel Time-Savers - 5 Hidden Features for Busy People
14:24
Barcode inventory with different suppliers in Excel
6:38