Microsoft
Software
Hardware
Network
Question : How do I trawl through an Excel 2003 range and copy certain cells of certain rows to another worksheet in VBA
Hi,
As a very inexperienced user of VBA I would appreciate if someone could get me started on an application I am trying to build. I have 3 sheets ('Customers', 'Invoices', and 'Payments') from which I am trying to build a fourth sheet, 'Statement'.
The idea is this : when a user clicks a cell next to a customer's name on the Customer sheet, I want the application to search through the Invoices and Payments sheets for that customer and copy certain Invoice and Payment details to a Statement sheet. The Statement sheet will then need to be sorted in date order.
My problem is I'm getting very confused regarding the selection of ranges in other sheets. I keep getting compiler errors. If I can get someone to help me with the initial pass through the Invoices sheet then I'm confident I can replicate the process for the pass through the Payments sheet.
The workbook is attached.
many thanks
Toco
Attachments:
Account-Statement.xls
(33 KB)
(File Type Details)
Customer accounts workbook of invoices and payments
Answer : How do I trawl through an Excel 2003 range and copy certain cells of certain rows to another worksheet in VBA
You should add <script.... into theme "header.php" inside "<HEAD>" tag.
Random Solutions
SSRS 2008 Data-Driven Subscription Errors - Email not sent
Is there a way to use visual basic 6 to write data directly to a cd or dvd for windows, xp, vista and 7
iPhone citrix reciever with Citrix Access Gateway
Blackberry browser 400 error - socketexception Connection reset
Return Ref
Delphi Pagecontrol - each Tabsheet has its own popup menu
DELL LATITUDE D610 80GIG STUCK IN BOOT LOOP
SQL 2008 Job can't start/stop services
Deploy Printers Using Windows 2008 R2 GPO to Windows XP Pro Clients and Removing all current printers
I have designed an website in flash as well in html, if the browser dont have flash then i want them to be directed to the html version, or else they need to directed to flash version