There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Software Development
Tag Cloud
access acer asus bios bsod computer crash dns driver drivers error ethernet excel freeze gaming google hard drive hardware hdmi internet laptop mac malware memory monitor motherboard mouse network printer problem ram registry router server slow software sound svchost.exe trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
Excel VBA Code Question

Reply  
Thread Tools
sassy2's Avatar
Computer Specs
Junior Member with 2 posts.
 
Join Date: Nov 2009
Experience: Intermediate
02-Nov-2009, 03: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
Senior Member with 4,273 posts.
 
Join Date: Sep 2003
Location: Atlanta, GA - Planet Earth
Experience: Brilliant When Sober
10-Nov-2009, 11: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, 01: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, 63 views)
File Type: xls LH Payment.xls (32.0 KB, 52 views)
File Type: xls LH Accts Rec.xls (93.0 KB, 51 views)
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:25 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.