#excelvba

  1. K

    When I Click cell C8, I should see the command button shown in E8 not otherwise via vba coding

    When I Click cell C8, I should see the command button shown in E8 not otherwise via vba coding. i was follow this code but not working pleased help me : Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Not Intersect(Target, Me.Range("C8")) Is Nothing Then...
  2. K

    *How can I show a icon in Excel when I click on a particular cell, if i will click after open Userform ? Icon Move After cell Selection.

    @how can I show a icon in Excel when I click on a Description column (Range (A15:A30) , if i will click after open Userform ? Icon Move After cell Selection. kindly Need VBA Coding
  3. K

    how to make hyper link Button ?? when i click down in cell with show "Add New " Button (button is hyperlink)

    how to make hyper link Button ?? when i click down in cell with show "Add New " Button (button is hyperlink) This Invoice Product name Combo box with show Hyper link button appears Out side the combo box, how to possible pleased Need this vba code , (Condition : How to fix same place in range...
  4. L

    select and check multiple cells

    hi, I'm new to Excel VBA. I am trying to write code that will select and check multiple cells. if cells contain a specific integer, then an assigned calculation would be done for the adjacent cells. I've pasted below my latest attempt to archive the above-mentioned objective Sub...
  5. X

    VBA code to include the headers in my VBA code and paste special to keep source formatting

    I need help with my VBA code. My code autofilters Column D(Department) from row 19 and paste to different sheets by Department Name. However, Row 1 - 18 (Headers & body text) which are currently excluded in the new sheet. I need to include row 1- 18 and paste special to keep source formatting...
  6. K

    # HOW TO MATCH "HSN CODE" AFTER PULL DATA ON DIFFRENT-DIFFRENT TABLE ???

    # HOW TO MATCH "HSN CODE" AFTER PULL DATA ON DIFFERENT-DIFFERENT TABLES ??? We need pull data into different- different Table . Kindly Help on solve my Query, Kindly Send us Proper formula , - perfect match " HSN CODE" And pull data from TABLE1 , send to matching table
  7. S

    Automating import of txt file

    Hi everyone, I am very new to Excel VBA and am trying to figure out how to import all the data in my txt file into excel to automate the process. As of right now, it is only importing the first three lines but I am unsure how I can alter it so it imports all the data. Here is the code I...
  8. S

    Read Footer from email documents and move email to another inbox

    Hi, I am looking for macro where i want to move emails from one folder to another folder in outlook where i have word file as attachments. before moving email to the another folder it should read the footer in attachment (word file) and compare it with the list i have. then it will check if the...
  9. S

    how to calculate age in Userform

    Dear Team, I want to calculate age based on Birthdate & Current Date in userform1, i have already created below 3 components, list of combobox1, 2 & 3 for birth date month & year respectively, __done Textbox1 for currentDate,__done & textbox2 for age calculating. ???__question Please help for...
  10. H

    I want to hide Columns from the last used cell in Row NO. 10 till the end column.

    I want to hide Columns from the last used cell in Row NO. 10 till the end column. Sub Hide_Column_Rows() Dim LastRow, LastColumn As Long LastColumn = Cells("10", Columns.Count).End(xlToLeft).Column Range(LastColumn + 2 & ":XFD1048576").EntireColumn.Hidden = True LastRow = Cells(Rows.Count...
  11. M

    Getting Key value from last occurrence of another table

    Hi, Im fairly very new to VBA Scripting. i have a problem please find the below table Output column is Comments Name Comments Alert A1 Phone P2 Email Not started The comment column gets the value from the below table Name subname value Alert A1 1 Alert A2 0 Alert A3 0...
  12. M

    Deleting Duplicates based on Active condition

    I'm new to VBA scripting trying to write a condition for the table, The condition is to take the fail status and loop through the same table and find if the appropriate ID has a pass status, if yes i need to delete the record, if no i have to retain the fail status. so my output will be i...
  13. M

    VBA Code s not working even though the sum of filtered values are equal to 0.

    Set SumRange = ReconWS.Range(Cells(2, AmountFilter), Cells(ReconRows, AmountFilter)).SpecialCells(xlCellTypeVisible) If Application.WorksheetFunction.Sum(SumRange) = 0 Then ReconWS.Range(Cells(2, MatchedItem),Cells(ReconRows,MatchedItem)).SpecialCells(xlCellTypeVisible).Select...
  14. Z

    Modification required in VBA PDF to excel conversion

    The following VBA converts PDF file to excel. But i need some modification with it, At address A2 path of PDF file is entered and at B2 type is selected like .xlsx. When convert button is pressed it converts PDF to excel at same location. Now what i want with this code to be modified is that: 1)...
  15. Z

    Combining TWO buttons operations into ONE

    I have two buttons in my workbook, they perform different operation by importing data from same workbook but different sheets. I want to combine this into one button, please help me with this. Button 1 Code is: Private Sub CommandButton1_Click() 'Sheets("RawDataChamla").Visible = True...
  16. M

    Excel VBA modifying Word document Header & Footer

    Good Afternoon, I'm trying to modify my current code to replace specified words in a MS Word document. The whole idea is working but only for the body of the document and nothing happens in the header neither in the footer. Can you please advise me where am I wrong ? Thank you in advance...
  17. Z

    Clear data on two different sheets with different ranges

    I have a workbook with different sheets, when i try to clear some ranges through vba code, it gives me error, please help me with this. Private Sub CommandButton5_Click() Range("B13:F13").Select Range(Selection, Selection.End(xlDown)).Select Selection.ClearContents...
  18. Z

    Conditional Copy Data from One sheet to another workbook

    I need to copy data from one sheet to another by following these conditions: 1) User should select/browse for a file, from the opened file, it copies data from column A to Column D from sheet1 2) Column A has unique numbers while column C & D has duplication, it should ignore duplicate.it...
  19. Z

    Search multiple headings(Columns) in other sheet, copy data and paste in main file

    I need a VBA code for a button which when clicked browse for other excel file, search for specific sheet named “Farmer History” in it. In this sheet it looks for A1 complete row and search heading “Crop Area” and copy this column data to main file(where button embedded) in sheet named “Berkhund”...
  20. D

    Smart view Com addin disappearing Everytime

    The smart view for office com addin keeps disappearing from the Excel ribbon . Tried inserting the addin location in the trust center , also changed regedit to aways loaded value 3 . But nothing works , it disappears Everytime. We are doing an automation RPA project which needs the...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top