Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-01-2019, 06:26 PM
NoSparks NoSparks is offline UserForm VLookUp Windows 7 64bit UserForm VLookUp Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

You will get better response(s) if you attach a sample workbook (not pictures of your sheets) with just enough data for us to work with.

Why the 'object required error' on the second line---> VBA considers SOL to be a variable not a worksheet.
Using Option Explicit the VBA would have indicated this before running the macro.
As-is, should be Sheets("SOL").

I suspect you'll get another error on that line because there is no bottom row for the CountIf range.

For loading those text boxes and writing back to the SOL sheet there are different ways,
my personal preference is using the Range.Find Method to locate Me.Shop_TB2.value, then using offset.

Writing to the "Tool Room" sheet...
I imagine Tool Maker is Me.Name_TB2, Tool Number is Me.PartNum_TB2, Date Completed is Me.Complete_TB2,
but don't know what Hours is, nor where any of these should be written on the sheet.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I return Vlookup only if Specific Criteria is met in 1 column of the Vlookup Array EcommDOC Excel 7 01-22-2018 11:00 AM
Help with UserForm walber Excel Programming 3 01-30-2017 12:12 AM
Userform calls other userform, then populate worksheet Lehoi Excel Programming 0 02-03-2016 02:58 PM
VBA Code in a UserForm module to delete a Command Button which opens the userform Simoninparis Word VBA 2 09-21-2014 03:50 AM
UserForm VLookUp Is it possible to take an input from a UserForm in one document to a UserForm in a do BoringDavid Word VBA 5 05-09-2014 09:08 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft