-
WSJoseluis
AskWoody LoungerThanks to both. I think Hans Validation approach should do fine. Thanks again.
-
WSJoseluis
AskWoody LoungerThanks Hans. I am actually looking at watermarks or something similar. Do you know of a way I can have something appear in a cell, but still be able to put something in. For example. cell A1. On the background, I want it to say company name here and the employee can put the company name. I really don’t care if the work company name appears as long as the input from the employee is printed.
-
WSJoseluis
AskWoody LoungerHans and Legare, the code actually works for, I inserted some stuff into it and I went back to fix it. Thanks for all your help.
-
WSJoseluis
AskWoody LoungerHans, Below is a code that someone in this forum was kind enough to share. I am interested in processing each file and extracting the information of the rows between the facility row and total column rows. I plan on puttting this code in a file called summary where I plan to process the macro. I want a sheet that gathers all the information from all the files for those rows between the facility and total colum.
Sub FileProcessingExample()
‘Variable Definition
Dim FilesToOpen
Dim iFileCount As Integer
Dim x As IntegerOn Error GoTo ErrHandler
Application.ScreenUpdating = False‘Get files to work with
FilesToOpen = Application.GetOpenFilename _
(FileFilter:=”Microsoft Excel Files (*.xls), *.xls”, _
MultiSelect:=True)‘Quit if NO files are selected
If TypeName(FilesToOpen) = “Boolean” Then
MsgBox “No Files were selected”
GoTo ExitHandler
End If‘Act on each file
iFileCount = UBound(FilesToOpen)
x = 1
While x <= iFileCount
Workbooks.Open Filename:=FilesToOpen(x)'Process each
'This is where I want to put the code to pull the rows for each file.End With
'Close workbook
ActiveWorkbook.Close SaveChanges:=False'Get next file
x = x + 1
Wend'Give a message saying you are done
If iFileCount = 1 Then
MsgBox "1 File was processed"
Else
MsgBox iFileCount & " Files were processed"
End IfExitHandler:
Application.ScreenUpdating = True
Exit SubErrHandler:
MsgBox Err.Description
Resume ExitHandlerEnd Sub
I don't know if these helps. Again, Thanks for any help you could give me.
-
WSJoseluis
AskWoody LoungerHans, I don’t know if I am thinking of it correctly. Basically, all I want to do is be able to copy all the rows that have hours associated with them from each employee timesheet. I need this for reporting purpose. I could go and grab each row, but we have over 500 employees and this would take some time. I though if I create a macro to pull this information, I could manipulate it easier, but I am open to any suggestions be it a macro, formual, or link. Thanks.
-
WSJoseluis
AskWoody LoungerThanks Hans, However, when I try the code, I still get the row below total hours and employee signatures. Is there a way I can get everything above the total hours? Also, If there are two files called timesheet1 and timesheet2, it will not add both, but replace the information. For example, if timesheet1 has three hours and time sheet two has 2 hours. The macro will only capture the two hours and delete the 1 hour. I need to be able to copy the information and keep on additing rows to the summary. Basically, what I am trying to do is to gather all the rows with hours only for each employee and then I plan on doing a pivot table to summarize the information. I just don’t want to go through each file for each employee and do this and thought if I can create a macro to do this it would help. Sorry if I made this more confusing.
-
WSJoseluis
AskWoody LoungerIt would be great if it contain the employee’s name and monthyear, index. However. I would be happy to just get the information inbetween those rows I mentioned above. Anything else is a bonus. Thanks.
-
WSJoseluis
AskWoody LoungerThe time sheets will be located in one file location (d:timesheetsjohndoe.xls). Each employee will have one time sheet per month (or one file with one worksheet per employee per month). The macro will be set up in one file location (summary.xls) with the one worksheet. I will like all the data to be put into one worksheet. hope this helps.
-
WSJoseluis
AskWoody LoungerThanks. I will give it a try.
-
WSJoseluis
AskWoody LoungerHi Hans. Thanks for the update regarding protecting the document. About the format, If you add a row to the worksheet on this thread, you will see that the border for the added row do not carry to the inserted row. Any ideas.
-
WSJoseluis
AskWoody LoungerAnother Question for anyone. The list function above works, but as it is adding rows the new row format does keep from the one above. Any help would be great. Thanks.
-
WSJoseluis
AskWoody LoungerHans,
Is there any way to protect some cells and still get the list feature? I try using the protect option in excel, but everytime I activate it, the option of adding another row for the list is deleted. Any help would be great. Thanks as aways.
-
WSJoseluis
AskWoody LoungerSam,
What about if I want to make the last column the dollar amount instead of Low, Medium, High. Any ideas. I want this to be a list to choose from based on two previous list. Thanks.
-
WSJoseluis
AskWoody LoungerThank you Hans. This is what I need.
-
WSJoseluis
AskWoody LoungerAny recommendations anyone? I do have a macro code that did something similar, but it assumed that there was nothing below the inserted sheet. Any help would be great?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
The time has come for AI-generated art
by
Catherine Barrett
2 hours, 42 minutes ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
2 hours, 42 minutes ago -
23 and you
by
Max Stul Oppenheimer
2 hours, 44 minutes ago -
April’s deluge of patches
by
Susan Bradley
2 hours, 4 minutes ago -
April’s deluge of patches
by
Susan Bradley
2 hours, 44 minutes ago -
Windows 11 Windows Updater question
by
Tex265
10 hours, 55 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
17 hours, 50 minutes ago -
Registry Patches for Windows 10
by
Drcard:))
22 hours, 21 minutes ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
4 hours, 55 minutes ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
15 hours, 43 minutes ago -
Align objects on a OneNote page
by
CWBillow
1 day, 3 hours ago -
OneNote Send To button?
by
CWBillow
1 day, 4 hours ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
1 day, 13 hours ago -
No Newsletters since 27 January
by
rog7
1 day, 9 hours ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
13 hours, 38 minutes ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
12 hours, 18 minutes ago -
Google One Storage Questions
by
LHiggins
3 hours, 25 minutes ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
3 hours, 32 minutes ago -
Ancient SSD thinks it’s new
by
WSila
18 hours, 14 minutes ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
2 days, 3 hours ago -
WinRE KB5057589 fake out
by
Susan Bradley
2 hours, 58 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
1 day, 11 hours ago -
Firefox 137
by
Charlie
14 hours, 38 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
2 days, 16 hours ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
2 days, 16 hours ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
2 days, 16 hours ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
1 day, 12 hours ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
2 days, 20 hours ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
3 days, 2 hours ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
3 days, 12 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.