Find data in specific cells in multiple worksheets using VBA

Find data in specific cells in multiple worksheets using VBA


Glenn wants to find data in specific cells in multiple worksheets using VBA and finally create a report automatically. This Excel VBA code or macro can be quite helpful in a variety of situations.
We create a command button on Sheet1 and code it to select a specific cell, capture its value, assign it to a variable, select the Report Sheet, paste the value in a specific cell after finding the first empty row, go back to the next sheet and in this manner select and copy all relevant values in all the worksheets of the workbook and create a report automatically.
We also give out appropraite messages every time we find a relevant value so that the user can review it and decide to continue.
In the process we learn more interesting Excel VBA coding.

Video Length: 14:05
Uploaded By: Dinesh Kumar Takyar
View Count: 34,278

Related Software Products
Working With Worksheets In VBA
Working With Worksheets In VBA

Published By:
Dave Hawley

Description:
PDownload contains 2 Workbooks. One for 97-2003 users and one for 2007 users. PYou will learn how to: Add Worksheets , Add Worksheets in Month Order , Add Sheets in Numeric Order , Sort Excel Sheets/Worksheets , How To Reference Sheets , Delete Sheet Event Code , Run VBA Macro Code On Protected Sheets , Unprotect Or Protect Sheets In One Go , Group/Sort Sheets By Tab Color , Hiding Sheets In Excel , Loop All Worksheets/Sheets in Workbook & Apply Code , Return Sheet Tab Name To ...


Related Videos
Excel VBA Introduction Part 6 - Worksheets, Charts and Sheets
Excel VBA Introduction Part 6 - Worksheets, Charts and Sheets

By Andrew Gould Previous video - Selecting Cells (Range, Cells, Activecell, End, Offset) http://www.youtube.com/watch?v=c8reU-... http://www.wiseowl.co.uk - In order to navigate a workbook using VBA it's essential to understand how to refer to, activate and select the various types of sheet. This video explains the difference between worksheet, chart and sheet objects and also demonstrates how to select, copy, move, delete and rename them. You'll also see how to ...
Video Length: 40:19
Uploaded By: WiseOwlTutorials
View Count: 119,600

Automate Copying of Column Data from Sheet to Sheet Using Excel VBA
Automate Copying of Column Data from Sheet to Sheet Using Excel VBA

How to automate copying of column data from one worksheet to another using Excel VBA. Complete code and sample file available here: http://www.exceltrainingvideos.com/automate-copying-excel-column-data-from-sheet1-to-sheet2-with-vba/
Video Length: 13:02
Uploaded By: Dinesh Kumar Takyar
View Count: 108,323

Excel VBA ActiveX Controls #1 Worksheet Button and Textbox
Excel VBA ActiveX Controls #1 Worksheet Button and Textbox

Using a Button and a Textbox directly on a worksheet to invoke some simple VBA code. In this lesson, we show the user how to access the Design mode in the Developer ribbon. Design mode allow you to resize/reshape ActiveX items and right-click,Properties to edit properties. We also give the button and textbox a custom name and watch how excel utilizes that name. **Limited Offer** Learn to Make Excel Do Your Work For You with The Ultimate Excel Programmer Course – Get the ...
Video Length: 07:04
Uploaded By: ExcelVbaIsFun
View Count: 79,699

Excel VBA Basics #7 - Using specific sheets, Hiding, Unhiding and Selecting with VBA
Excel VBA Basics #7 - Using specific sheets, Hiding, Unhiding and Selecting with VBA

In this episode, we learn that macros can affect ANY worksheet, regardless of which one you're currently in. We learn how to control and direct the code toward a specific sheet so that our data isn't overwritten on the ACTIVESHEET. By default, excel vba will throw your Range() or Cells() object on the current sheet (Activesheet), but harnessing the power of Thisworkbook.sheets() will prove very effective. We'll even show you how to read and write on a HIDDEN worksheet. We also show ...
Video Length: 08:21
Uploaded By: ExcelVbaIsFun
View Count: 79,633

Consolidate Data from Multiple Excel Workbooks using VBA
Consolidate Data from Multiple Excel Workbooks using VBA

We can consolidate data from multiple Excel workbooks using VBA. This automates the complete process of data consolidation or summation. The process of consolidating data from different workbooks involves the following steps: (1) First we write the code for displaying the headers or labels like 'Item' and 'Quantity'. We also write the code to display the item names on the left below the header 'Item'. (2) Next we write the code to open all the workbooks from which we wish ...
Video Length: 10:32
Uploaded By: Dinesh Kumar Takyar
View Count: 60,852

Create a New Sheet and Rename Worksheet using VBA in Excel 2010
Create a New Sheet and Rename Worksheet using VBA in Excel 2010

This video shows how to programmatically Create a New Sheet and Rename Worksheet using VBA in Excel 2010 hr / bClosed Caption:/b in this video I'll be showing how we can use vba programming in Microsoft Excel 2010 to create a brand new worksheet inside your work your workbook and also renamed that worksheet to whatever name of of of your preference so let's go ahead and get started one of the first things I'm going to do is ...
Video Length: 07:30
Uploaded By: Alex Cantu
View Count: 57,663

Extract data from one worksheet to another using advanced filter with VBA
Extract data from one worksheet to another using advanced filter with VBA

Our Excel training videos on YouTube cover formulas, functions and VBA. Useful for beginners as well as advanced learners. New upload every Thursday. For details you can visit our website: http://www.familycomputerclub.com/ext... We can easily and quickly extract data from one Excel worksheet to another using advanced filter. We can also attach the process to a command button using VBA to automate the complete process of data extraction from one worksheet to another.
Video Length: 14:20
Uploaded By: Dinesh Kumar Takyar
View Count: 53,468

Compare two Excel Worksheets Cell by Cell Using VBA
Compare two Excel Worksheets Cell by Cell Using VBA

How do you compare two worksheets cell by cell in the same workbook or in different workbooks? Excel VBA provides an elegant solution. First we define a few variables that can count the rows and columns so that we know how many cells are in use in the Excel worksheets. Next we assign the used ranges to the sheet with the maximum values. Now using a nested 'for loop' we access each cell in the used range and compare them. If the cells values are not equal we write them into a new ...
Video Length: 11:14
Uploaded By: Dinesh Kumar Takyar
View Count: 46,535

Protect Worksheet and Allow Specific Cells Editing Using Excel VBA
Protect Worksheet and Allow Specific Cells Editing Using Excel VBA

Often you wish to help the data entry operator by protecting formulas and cells in an Excel worksheet and allowing only certain areas of the worksheet for data input or editing. You can do this using standard methods as described here: http://www.familycomputerclub.com/exc... Or, you can use use Excel VBA if you are planning to automate your project as shown in this training video. More details here: http://familycomputerclub.com/protect...
Video Length: 06:52
Uploaded By: Dinesh Kumar Takyar
View Count: 33,466

Excel VBA Basics #31 Send Sheets Straight to Printer using PrintOut Method
Excel VBA Basics #31 Send Sheets Straight to Printer using PrintOut Method

Rather than triggering a print preview, sometimes you'll just want your report or sheet to go straight to the printer. With this trick, you can set it up on a worksheet, userform or in your actual report code, but you can send how many copies of whatever you want straight to the printer without any extra unnecessary clicks. Check it out!! **Limited Offer** Learn to Make Excel Do Your Work For You with The Ultimate Excel Programmer Course – Get the Full 9+ Hour Premium Course for 75% ...
Video Length: 14:31
Uploaded By: ExcelVbaIsFun
View Count: 30,336

Copyright © 2025, Ivertech. All rights reserved.