Disclosure: This post may contain affiliate links, meaning when you click the links and make a purchase, we receive a commission.

User Posts: Shamima
0
How to Import Data from Excel to Google Sheets (2 Easy Ways)
0

For various purposes, you may need to get data from Excel to Google Sheets. In this article, I will show you how you can import data from Excel to google ...

0
How to Convert Currency to a Number in Excel (6 Easy Ways)
0

In Microsoft Excel, it is easy to convert the currency to a number. For different types of purposes, you may need to convert your stored currencies to numbers. ...

0
Excel VBA: Merge Multiple CSV Files into One Workbook 
0

It is very common to convert CSV files to Excel files. In this article, you will get how you can Merge Multiple CSV Files into one Excel Workbook VBA. Here, I ...

0
How to Set Excel Column Width to cm Unit (with Easy Steps)
0

In this article, I will show you how you can change the Excel column width in cm. For measurements purpose, you may need to change or set the column width. ...

0
How to Create Proforma Invoice for Advance Payment in Excel
0

A Proforma invoice is used to request payments from the dedicated buyer for any items, goods, services and etc before supply. It includes details of the items ...

0
How to Filter by Text Color in Excel (5 Easy Methods)
-1

If you want to apply a Filter based on text color this is the right place for you. Here, I will explain how to filter by text color in Excel. Sometimes from a ...

2
Excel Percentile Rank Inc vs Exc
-1

Based on the dataset various times we need to rank or sort them from least to greatest. In Excel, we can use it using the PERCENTILE function. But for better ...

2
How to Format Phone Number with Extension in Excel (3 Easy Ways)
-1

You may need to format your phone numbers with an extension you can easily do it by using Excel in-built features and formulas. In this article, we will learn ...

1
If Cell Contains Specific Text Then Add 1 in Excel (5 Examples)
-1

Whenever you want to search for any specific text to do some operations you can easily do it in Excel. In this article, I’m going to show you in Excel that if ...

2
How to Shift Cells Down in Excel without Changing Formula (4 Methods)
-1

Normally Formulas are associated with the referenced cell but for any reason or circumstances if you want or wish to shift cells down in Excel without changing ...

2
Excel Formula to Calculate Average Annual Compound Growth Rate
-1

In financial data, it is very much important to know the annual growth rate. Average annual compound and annual growth rate help to distinguish where the ...

1
Hyperlink in Excel Not Working (3 Reasons & Solutions)
-1

In Excel sheets, we often use Hyperlinks to link any sheet or page. Sometimes Hyperlinks may give you reference errors or links can be broken etc. In this ...

2
How to Sort Numbers in Excel (8 Quick Ways)
-1

To do analysis or to keep numbers in order, Sorting is important. In Excel, there are a couple of ways to Sort numbers. There are two possible ways to Sort ...

0
How to Remove Read Only from Excel (7 Easiest Ways)
-1

An Excel file can be in Read Only mode for two reasons one is if any author has purposely done it for security issues otherwise anyone downloaded the file from ...

0
How to Remove Percentage in Excel (5 Quick Ways)
-1

In an Excel sheet, you can use different kinds of formats based on your need. Percentage is one of the Number Format which is used to show a relative value ...

Browsing All Comments By: Shamima
  1. Hi Arda
    Hope you are doing well.

    I checked the code you mentioned above and it works. To make it more clear I’m attaching some images with the code.

    Here, I tried the exact code in the same dataset.
    MsgBox Range("E5").End(xlToRight).Offset(0, 1).Address

    You can see the result $G$5.

    Again I changed the dataset slightly.

    Here, the result is also based on the location.

    NB. If it doesn’t help you then please send your dataset to [email protected] or [email protected]

    Thanks
    Shamima Sultana
    ExcelDemy

  2. Hello, Emil Lazar!

    Thanks for your appreciation. Stay in touch with ExcelDemy to get more useful articles.

    Regards
    ExcelDemy

  3. Hi Abishek Sharma!

    If you want the Excel file then you can download it from the Download Practice Workbook section. Or you need other assistance you can comment or send us mail at [email protected]

  4. Hello, Nastaran!

    Thanks for your appreciation. We are glad that our post helped you.

    Regards
    ExcelDemy

  5. Hello, Ruben!

    It’s glad to know that our content is helpful to you. To know more about Excel stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  6. Hello, Tanael Wawe!

    You are welcome. Stay in touch with ExcelDemy to get more helpful content.

    Regards
    ExcelDemy

  7. Hello, Tanael Wawe!

    Thanks for your appreciation. Stay in touch with ExcelDemy to get more helpful content.

    Regards
    ExcelDemy

  8. Hello, Dan!

    Thanks for your appreciation. It means a lot.

    Regards
    ExcelDemy

  9. Hello, Ahnaf!

    You are most welcome. stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  10. Hello, Aleem!

    Thanks for your appreciation. stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  11. Hello, Mohan!

    Thanks for your appreciation. Stay in touch with ExcelDemy for more helpful content.

    Regards
    ExcelDemy

  12. Hello, Many!

    You are most welcome. To get more helpful content with explanations stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  13. Hello, ExcelAmateur!

    Thanks for your appreciation. To get more helpful content with explanations stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  14. Hello, Mubashir!

    Thanks for your appreciation. To get more helpful content stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  15. Glad to hear that.

    Regards
    ExcelDemy

  16. Thanks for your appreciation.

    Regards
    ExcelDemy

  17. Hello!

    Thanks for your appreciation.

    Regards
    ExcelDemy

  18. Hello, Andy W!

    Thanks for your appreciation.

    Regards
    ExcelDemy

  19. Hi, Dhaval!

    Thanks for your appreciation.

    Regards
    ExcelDemy

  20. Hello, Pankaj!

    We are glad to know that it worked for you. To get more useful content stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  21. Hello, Suzette!

    Thanks for your appreciation. We will try to use fonts that will be easier to read for old eyes.

    Regards
    ExcelDemy

  22. Hello, Eric!

    Thanks for your appreciation. To get more helpful content stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  23. Hello, Instast!

    Thanks for your appreciation. To get more helpful content stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  24. Greetings ASHISH PANT,
    I appreciate you asking this question. We use the Microsoft Office 365 version here. In order to resolve your problem, you need to open the Excel workbook in Microsoft Office 365 version.

    Regards
    ExcelDemy

  25. Hello, Andre!

    Thanks for your appreciation. To get more helpful posts stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  26. Hello, Michelet!

    Thanks for your appreciation. Stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  27. Hello, Im!

    Hope you are doing well. Thanks for your appreciation.

    Regards
    ExcelDemy

  28. Hello, Leslie!

    Hope you are doing well. Thanks for your appreciation. Stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  29. Hello, Aston!

    Hope you are doing well. To show your data labels in millions kindly follow this article Millions in Data Labels

    Regards
    ExcelDemy

  30. Hello, Chan!

    Hope you are doing well. Glad to know that our content is useful for you.

    Regards
    ExcelDemy

  31. Hello, Kim!

    Thanks for your appreciation. For more useful content visit our site ExcelDemy.

    Regards
    ExcelDemy

  32. Hello, Suki Nasoordeen!

    Thanks for your appreciation. Stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  33. Hello Gerald,
    Do you need to know the conversion from Excel to PDF? Right? Because the original bank statement was in PDF format. So, here you can follow the steps below to convert your Excel file back to PDF file.
    Firstly, you need to open your Excel file.
    Secondly, click the File button at the top-left corner of the Excel file.

    edit bank statement, converting Excel into PDF

    Thirdly, go to Save As and click it.

    edit bank statement, conversion

    Fourthly, choose PDF from the Save option at the top-right corner by clicking the drop-down button.

    conversion from Excel to PDF

    Finally, choose a particular location to keep it by selecting Browse button.

    conversion from Excel to PDF

    Thanks
    Regards
    ExcelDemy

  34. Hello, Chole Faulkner!

    Thanks for your appreciation. Stay in touch with ExcelDemy.

    Regards
    ExcelDemy

  35. Hello, SS!

    Hope you are doing well. We are very sorry that you are facing some troubles with advertising. But will try our best to give you a nicer experience.

    Regards
    ExcelDemy

  36. Hi Zidane

    Hope you are doing well. Thanks for your appreciation.

    Regards
    ExcelDemy

  37. Hi Peter

    Thanks for your appreciation.

    Regards
    ExcelDemy

  38. Hi Mohammed Hassen,

    Thank you so much.

    Thanks
    Regards
    ExcelDemy

  39. Hi N,

    Thanks for your appreciation. Please visit our site for more excel-related problems.

    Thanks

    Regards
    ExcelDemy

  40. Hi Bernadeth,

    Thanks for your appreciation. To get more useful content kindly visit our site.

    Thanks
    Regards
    ExcelDemy

  41. Hi GIRIDAR N,

    Thanks for your appreciation and we are glad to help you. For any types of Excel-related problems kindly reach out to us.

    Regards
    ExcelDemy

  42. Hello Marian,

    There are some unwanted issues that may arise while dealing with the VBA code. In that case, you need to utilize the following code.

    Sub Extract_Data_from_PDF()
    
    Dim MyWorksheet As Worksheet
    
    Set MyWorksheet = ActiveWorkbook.Worksheets("Sheet1")
    Application_Path = "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe"
    PDF_Path = "C:\Users\USER\Desktop\Durjoy\Comments\New folder\standardnormaltable.pdf"
    
    Shell_Path = Application_Path & " """ & PDF_Path & """"
    Call Shell(pathname:=Shell_Path, windowstyle:=vbNormalFocus)
    
    Application.Wait Now + TimeValue("0:00:03")
    
    SendKeys "%vpc"
    SendKeys "^a"
    SendKeys "^c"
    
    On Error Resume Next
    Range("A1").PasteSpecial
    
    Call Shell("TaskKill /F /IM Acrobat.exe", vbHide)
    
    End Sub

    Here, the Application path and pdf path need to be defined accurately. Then, when you run the code, you will find the copied items in the clipboard.
    Then, click on Paste all to extract values.

    null

    Thanks
    Author, ExcelDemy

  43. Hi Exceler,

    Here, I tried the first method for 50 sets of data and it worked but you have to change the cell references based on your dataset. For your better understanding, I am attaching the images along with the formula.
    =INDEX($D$5:$D$30,MATCH(1,MMULT(--($B$5:$C$30=F5),TRANSPOSE(COLUMN($B$5:$C$30)^0)),0))

    The images of datasets

    Image of dataset

    Here, I used the formula for the entire dataset. I changed the references based on my dataset.

    Formula

    Output for 50 values:

    Output

    Note: If your dataset is very large kindly send us your dataset

    Thanks
    Shamima Sultana

  44. Hi Tom Lynham

    Hope you are doing well. Here, I updated the article which implies the title and the explanation.

    By following above explained methods it is possible to print colorful gridlines but you must use a color printer.

    If this update doesn’t help you or you have further queries kindly let us know.

    Thanks
    Shamima Sultana

  45. Hello Mark,

    We uploaded the Excel files again, you can check these files also. If you find any difficulty opening the file let us know.

    Thanks

  46. Hello Mark,
    Hope you are doing well.
    Whenever I try to download this workbook it works fine without a password. To be reassured a couple of my teammates also downloaded this file they also didn’t face any difficulty.
    As I haven’t used any password for this worksheet. I really want to know what caused such issues while you downloaded the file.
    Here, I will show you what it looks like when I download the file again.

    After downloading the file Excel shows a warning message. You have to click on Enable Editing.

    Excel sheet name in formula dynamic

    Later, the downloaded file will be available to use or you can make any changes you want.

    Solution

    N.B. If this solution doesn’t work for you. Kindly sent me the screenshots of the problem.

    Thank you.

    Regards
    Shamima Sultana

  47. Hi Froggy,
    Hope you are doing well. Thanks for reaching out to us with your issue.

    As you intend to apply the above code to a workbook with multiple sheets so you need to add some extra lines in your code to define all available worksheets or selected worksheets.

    Here, I will give you two solution
    1. For selected sheets
    2. For all the available sheets in a workbook

    1. If you want to apply the same code in some selected sheets then use the code given below where I declared sheets names by using an Array.

    Option Explicit
    Sub AddSpaceBetweenRows()
    Dim all_sheets As Worksheet
    Dim rng As Range
    Dim i As Long
    Dim all As Variant

    Set all = sheets(Array(“VBA1”, “VBA2”))

    For Each all_sheets In all
    all_sheets.Select
    Set rng = Range(“B5:E9”)
    For i = rng.Rows.Count To 2 Step -1
    rng.Rows(i).EntireRow.Insert
    Next i
    Next
    End Sub

    2. To loop through all the available sheets of your workbook you will need to use the code given below where I declared all_sheets and used an extra For Loop.

    For your better understanding, I’m providing the modified code here,

    Option Explicit
    Sub AddSpaceBetweenRows()
    Dim all_sheets As Worksheet
    Dim rng As Range
    Dim i As Long

    For Each all_sheets In Worksheets
    all_sheets.Select
    Set rng = Range(“B5:E9”)
    For i = rng.Rows.Count To 2 Step -1
    rng.Rows(i).EntireRow.Insert
    Next i
    Next
    End Sub

    Note: Based on your Excel file you will need to change the sheet name and the cell range selection.

    For further queries comment down below.

  48. Hello Naveed,

    Hope you are doing well. Kindly send me the details of your problem including the Excel file via my Gmail account [email protected]

    Thank you

  49. Hi Helen,
    I’m glad that our article helped you. For any types of Excel related problems kindly check out our ExcelDemy site.

    Thanks
    Shamima

  50. Hello Michelle,
    Hope you are doing well. If you need to run the macro after the first use it will create new sheets with the updates you made on your dataset.

    It won’t automatically update the workbooks created previously (Book1, Book2, and Book3) rather it will create Book4, Book5, and Book6 with the updated dataset.

    Thanks
    Shamima Sultana

  51. Hi A,

    Thanks for your appreciation.

  52. Hi Sikander,
    Hope you are doing well.
    To get the DateValue for February, click on the drop-down option of Month and then select February.

    monthly staff attendance

    Then you will get the DateValue and the rest will be updated automatically.

    2. Monthly Stuff Attendance

    Note: If you want to type the month name in that cell you have to be careful with the spelling of the month name.

    Thanks

    Regards
    Shamima Sultana

  53. Hi Deon Bailey,
    Hope you are doing well. Thanks for reaching out to me with your issue.

    As you didn’t share your Excel file that’s why it is hard to understand your sheet name and where is the problem occurring.

    But you need not to worry, I’m giving you a possible solution so that you can add data to your selected sheet to the last row.

    The reason for overwriting the added data is your code wasn’t finding the last row it was showing 1 as the last row number.

    Here, I added data according to my dataset I used in this article. I commented out your code and added some required lines.

    Sub Insert_Value_from_LastRow()

    ‘TargetSheet = Cmb_Months.Value
    ‘If TargetSheet = “” Then
    ‘Exit Sub
    ‘End If
    Dim targetSheet As Worksheet
    Set targetSheet = ThisWorkbook.Worksheets(“Dataset”)
    targetSheet.Activate
    ‘lastrow = ActiveSheet.Cells(Rows.Count, 1).End(xlUp).Row
    LastRow = ActiveSheet.UsedRange.Rows(ActiveSheet.UsedRange.Rows.Count).Row
    MsgBox LastRow

    ‘ActiveSheet.Cells(LastRow + 6, 2).Value = Cmb_Area.Value
    ‘ActiveSheet.Cells(LastRow + 6, 3).Value = Txt_Ln_Manager.Value
    ‘ActiveSheet.Cells(LastRow + 6, 4).Value = Txt_FName.Value
    ‘ActiveSheet.Cells(LastRow + 6, 5).Value = Txt_Surname.Value
    ‘ActiveSheet.Cells(LastRow + 6, 6).Value = Txt_S_Number.Value

    ActiveSheet.Cells(LastRow + 3, 2).Value = “Rachel Ross”
    ActiveSheet.Cells(LastRow + 3, 3).Value = “Germany”
    ActiveSheet.Cells(LastRow + 3, 4).Value = “laptop”
    ActiveSheet.Cells(LastRow + 3, 5).Value = 4567

    End Sub

    Note: Whenever you want to insert or add data after a particular row it is better to see the last row number by using MsgBox. It will help you to understand why data is overlapping.

    I also added the images.

    reply of comment

    reply of comment

    For further queries, you can send me your Excel file.

    Thanks
    Shamima Sultana

ExcelDemy
Logo