Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Software Development
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hdmi hijackthis internet itunes keyboard laptop malware monitor network networking outlook problem ram recovery router screen slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
Excel VBA Code Question

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

 
Thread Tools
sassy2's Avatar
Computer Specs
Junior Member with 2 posts.
 
Join Date: Nov 2009
Experience: Intermediate
02-Nov-2009, 02:44 PM #1
Excel VBA Code Question
I'm writing a macro in Excel 2007 and would like the macro to pause for user input and then search for the word input by the user.

Any suggestions would be appreciated.

Thanks.
Rollin_Again's Avatar
Distinguished Member with 3,728 posts.
 
Join Date: Sep 2003
Location: Atlanta, GA - Planet Earth
Experience: Brilliant When Sober
10-Nov-2009, 10:40 AM #2
The easiest way to do this is to prompt the user with an inputbox. Can you post your existing macro code for us to look at?

Regards,
Rollin
sassy2's Avatar
Computer Specs
Junior Member with 2 posts.
 
Join Date: Nov 2009
Experience: Intermediate
10-Nov-2009, 12:47 PM #3
Excel VBA Code Question
I will attach the workbooks I'm using and the code that I have so far which isn't much. The first workbook "Like Home" contains the macro. The second "LH Accts Rec" contains the accounts receivable records for each student. The third "LH Payment" is a receipt I want to use for payments received.

What I'm trying to do is open the receipt, enter the child's name the payment is for, open the accounts receivable document and lookup that child's record. I would then like it to automatically bring in the information from accounts receivable that it can (Parents Name, Balance Due, that kind of thing. The user will have to enter things like payment amount, payment method, etc.

The workbook "Like Home" that contains only one macro right now, but I removed several so as not to confuse things even more. I have macros that post the enrollment information to several other documents, but this one has me stuck. I just can't figure out how to search the accounts receivable workbook for the name input by the user.

Thanks so much for your help.

Sassy2
Attached Files
File Type: xls Like Home.xls (87.5 KB, 4 views)
File Type: xls LH Payment.xls (32.0 KB, 4 views)
File Type: xls LH Accts Rec.xls (93.0 KB, 4 views)
Reply Bookmark and Share

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 07:14 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.