Filling in an account in excel

edgardo

New Member
Joined
Jan 25, 2012
Messages
3
Hi, excel experts,
I have a problem that is making my job slow and annoying.
I am making a couple of hundreds of scans a week and I need to fill in an account that contains eight graphs required.
serial number|date created|department|inventory number|image type|account number|date modified|date deleted
I'm working with a large amount of digital images (TIFF and JPEG).
I wonder how could I automate at least some "fill in" process?
Could anybody give a hint ar a link?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I've used this script:

Sub loopThroughFOlder()
Dim r As Integer
r = 2
Sheets("sheet1").Select
Range("a2:f5000").ClearContents
Set fileSystemObject = CreateObject("Scripting.FileSystemObject")
Set FolderObj = fileSystemObject.getfolder("")
For Each FileObj In FolderObj.Files 'loop over the files in the folder
If Not FileObj.Attributes And 2 Then 'only show files not hidden
Cells(r, 1).Value = FileObj.Path
arrFileName = Split(FileObj.Path, "\")
Cells(r, 2).Value = arrFileName(UBound(arrFileName)) 'Get the FileName
Cells(r, 3).Value = FileDateTime(FileObj.Path)
Cells(r, 4).Value = fileSystemObject.GetExtensionName(FileObj.Path)
Cells(r, 5).Value = FileLen(FileObj.Path) / 10204 'because 1MB = 1024 KB
Cells(r, 6).Value = FileObj.Attributes
r = r + 1
End If
Next FileObj
End Sub

But it does not completely fit in the required fields.
Could anyone offer something closer to my listed information?
Thanx
 
Upvote 0

Forum statistics

Threads
1,215,444
Messages
6,124,893
Members
449,194
Latest member
JayEggleton

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