Md. Abu Sina Ibne Albaruni holds a BSc in Mechanical Engineering from Bangladesh University of Engineering and Technology. He is a dedicated employee of the ExcelDemy project. He has written quite a large number of articles for ExcelDemy. Besides, he has expertise in VBA. He efficiently automates Excel issues using VBA macros and actively engages in the ExcelDemy forum, offering valuable solutions for user interface challenges. His areas of interest in work and study span MATLAB, Machine Learning, Image Processing, Solidworks, LaTex, Python, Microsoft Office, and creating Excel applications.
A tracker in Excel can be used for many purposes including project management, inventory management, event planning, data organization, employee tracking, and ...
The dataset, Sales of Products, has four columns: Product Name, Unit Price, Quantity, and Total Price. To calculate the total price for ...
Here's an overview of the AutoFill feature when working with days of the week. Download the Practice Workbook Excel AutoFill.xlsm How ...
Serial numbers are important for sorting, ordering, and maintaining the consistency of data in Excel. In this article, you will learn how to create a serial ...
Method 1 - Manual Periodic Table 1.1. Insert Data in Properties Table Each element of a periodic table has a unique set of properties. These properties refer ...
In this article, we will demonstrate 2 convenient ways to declare global constants in Excel VBA. We'll also show how to declare VBA global variables, and ...
What is Data Analysis and Visualization? Data analysis involves collecting, organizing, and analyzing raw data to extract relevant information. This process ...
Quick View: Download Practice Workbook CONCAT Function.xlsm Overview of the CONCAT Function Syntax: =CONCAT(Text1, …) ...
Download Practice Workbook Converting Timestamp to Time.xlsm Method 1 - Convert Timestamp to Time Using Combination of TIME and MID Functions ...
We will use Excel VBA to filter a Pivot Table based on a list. Consider the following dataset with fruit sales. Create a Pivot Table in Excel Check ...
Here's an overview of using VBA to create a chart from a pivot table. Use Excel VBA to Create Chart from Pivot Table: 3 Methods We have the sales ...
Excel SUMIF function calculates the sum of a range of cells based on specified criteria. It allows the users to specify a range of cells to be evaluated ...
A ComboBox allows users to select from a list of predefined items. However if the list is too big, It may become difficult to find a required item. We can ...
Dataset Overview In this guide, we’ll explore four methods for utilizing INDEX and MATCH functions with an array in Excel VBA. To illustrate these techniques, ...
How to Open the VBA Macro Editor in Excel You will need the Developer tab at the top of the worksheet. Click on the Developer tab and select Visual Basic. ...
Hi,
Thank you for your comment. From the problem you have stated, it looks like you need to just modify the previous code a little bit. You can use the following code to accomplish your task.
Regards,
Md. Abu Sina Ibne Albaruni
Team ExcelDemy
Dear VSP
Thank you very much for your question. I appreciate your interest in our article. I will show you the step-by-step process to create a macro according to your preferences. Also, you will be able to send automated emails on the due date without running the code.
● First, create the workbook. I am creating a sample workbook that has Message, Date, Status of work, and Email addresses in specific positions that you have mentioned.
● Select your entire dataset.
● Go to the Insert tab >> Table.
● Check the My table has headers option.
● Press OK.
● Sort your data according to your Email address.
● Now go to the Developer tab >> Visual Basic.
● Go to ThisWorkbook and paste the following code into the VBA Macro Editor.
● Save the file as Excel Macro-Enabled Workbook (.xlsm) file.
● Now, to automatically send emails, type Run in your Start Menu and open the Run dialog box.
● Paste the following path there and press OK.
%AppData%\Microsoft\Windows\Start Menu\Programs\Startup
● Place your Excel file in the Startup folder.
Now whenever you open your PC, the VBA code of your Excel file will be automatically executed. Emails will be sent to the given email addresses according to the criteria you mentioned.
Notes:
● Stay logged in to your outlook application. We are using the OUTLOOK Microsoft 365 Office application.
● The provided code sends an email for the current date. You can customize it for any date.
● Make sure that your active worksheet contains the sorted table and save the file accordingly.
You can download the sample Excel file from here.
Send Emails.xlsm
If you have any more questions, please let us know in the comment sections.
Regards,
Md. Abu Sina Ibne Albaruni
Team ExcelDemy
Dear SHERI
Thank you very much for your inquiry. I appreciate your interest in our article. You can copy worksheets from one workbook to another without mentioning the names of the worksheets. You have to slightly change the VBA code. I have modified the code and provided it here for your convenience.
Keep two things in mind before running the code:
● You must keep both workbooks open.
● You must run the code in the destination workbook.
Paste this code in the VBA Macro Editor of your destination workbook and press the Run button or F5 key to run the code.
If you have any more questions, please let us know in the comment section.
Regards
Md. Abu Sina Ibne Albaruni
Team ExcelDemy
Dear NIRMAL
Thank you for taking the time to read this article. I can see that you are facing a problem while executing the code in method 3. I guess It is Run-time error ‘1004’.
Kindly note that you need to modify the file path according to the folder where you are storing your pictures. You also have to specify the type of the image (jpg, jpeg, png, etc.) correctly. So, you should change the LocationPic variable in the code accordingly.
For your convenience, I am attaching a photo indicating the exact portions of the code that you need to re-write.
If you have any more questions, please let us know in the comments.
Regards
Md. Abu Sina Ibne Albaruni
Team ExcelDemy
Dear BENJAMIN THORPE
Thank you very much for your interest in our article. You can create an auto-prompt dropdown in Excel. In the dataset, we have the names of multiple people.
Simply follow the steps below:
● Go to the Developer tab >> Insert >> Combo Box (ActiveX Control).
● Then place the newly created ComboBox.
● Double-click on the ComboBox.
● A VBA window will pop up. Paste the following code into the window.
● Now, go back to the worksheet and click on the Design Mode from the Developer tab to turn it off.
● Double-click on the ComboBox and you will see an InputBox asking for the list.
● Select the list from your dataset and press OK.
● You will have the auto-prompt drop-down list.
You can also download the Excel file from here.
Excel Auto Prompt Drop-Down.xlsm
If you have any more queries, please let us know in the comments.
Regards
Md. Abu Sina Ibne Albaruni
Team ExcelDemy
Dear KAZEM
Thank you for taking the time to read this article. I see that you are facing a problem while executing the code. It is the Run-time error ‘1004’. There are several possible reasons for this error. In your case, I believe you are having this issue because the file path you specified is incorrect or unavailable. Please note that you need to modify the file path according to the destination where you want to save the PDF file. You have to change the file path portion in the Filename variable.
For your convenience, I am attaching a photo indicating the exact portion of the code that you need to re-write.
If you have any more questions, please let us know in the comments.
Regards
Md. Abu Sina Ibne Albaruni
Team ExcelDemy
Hi SUMBO,
We have sent you an email. Please see the attached document in it.
Regards
Md. Abu Sina Ibne Albaruni
Team ExcelDemy
Hello Z L
Thank you very much for your response. We have modified this article and introduced some new statistical concepts and functions. Would you please go through it again?
If you have any more questions, let us know in the comment section.
Thanks
Md. Abu Sina Ibne Albaruni
Team ExcelDemy
Hi YOGAAGA
Thank you very much for your comment. A few limitations while working with these functions have been discussed in the NOTES section. Please go through them. In addition, here in the dataset, the VLOOKUP function has been used in combination with the LARGE function. Both the VLOOPUP and LARGE functions go through the entire range of data every time they are called. The LARGE function needs to sort the data before determining the result. The VLOOKUP function looks for the data in a specified range. The whole process can be computationally expensive in large datasets. So, this formula can be time-consuming when dealing with large amounts of data.
Moreover, this formula may return identical values if it encounters duplicates in the dataset. For example, in our dataset, if there are multiple students with the same CGPA, the formula will return the same student’s name for each duplicate value.
Thank you once again. Let me know in the comments if you have any further queries.
Regards,
Md. Abu Sina Ibne Albaruni
Team ExcelDemy
Dear Datla Srinivas,
We have sent you an email. Please find the attached documents in it.
Best wishes
Md. Abu Sina Ibne Albaruni
Team ExcelDemy