vba & excel

  1. N

    VBA: Auto Insert Hyperlinked Photos and Resize

    I found a script for inserting hyperlinked photos that works well with one column. However, I would like to know how to insert for multiple columns like I, J, K, L, M, N. Each column will have several rows of hyperlinks. Here is the code I found that works well for single column. Just need to...
  2. R

    Transferring data from Columns to rows, not using a Pivot table

    I am reposting this, as I have not had a workable response - probably due to me not describing the problem eloquently. I have a excel file with 2 sheets. Sheet 1 has "Job Number" in Column C, and empty cells for Invoice numbers, in columns M, N, O, P, Q and R Sheet 2 has a dump from an...
  3. J

    Web Scraping multiple pages VBA

    Hi, I want to web scrape information to an excel worksheet for multiple pages. example from page 1 to 3. I tried a code found online from googling but it sends out an error. Any help is much appreciated. Thanks in advance. :) I would like to sort the information like the example shown below...
  4. E

    Trying to select filles Pdf from folder then put them into a Email

    The codes open a Email find but can`t seem to grab any files? Private Sub Email_Files_Click() Dim objol As Object Dim objmail As Object Dim objFolder As Object Dim fso As Object Dim fsFolder As Object Dim fsFile As Object Dim strFolder As String...
  5. A

    i need some help to understand line 23

    what is the point of adding another tab if the previous line does it after each cell? Dim fso As Scripting.FileSystemObject Dim ts As Scripting.TextStream Dim r As Range Dim ColumnCount As Integer Dim i As Integer Set fso = New Scripting.FileSystemObject ' Open...
  6. J

    If sheet name contains specific text select range and paste to another ws

    Need help building a code. I want to search all worksheets in a workbook that contain a specific string in its sheet name to copy cell data of a range and paste as values into a different ws. What I ultimately need to do is take data from A2 of all BL ws and paste into Column A of Summary ws...
  7. M

    Combine Two Worksheet_Change

    HI I would like to combine two VBA codes but 1 works the other one does not :( I need the first code to monitor the two columns in the last code. Hope someone can help Dim xRg As Range Dim xChangeRg As Range Dim xDependRg As Range Dim xDic As New Dictionary Private Sub Worksheet_Change(ByVal...
  8. K

    Automate excel process - perform using macros

    I am trying to do macro automation for the following 3 tasks and I'm stuck in all 3 tasks, kindly request to help. Calculate ageing of tickets using assigned date of ticket Fill blank cells for which ageing calculation wasn't done due to an incorrect date format issue Refresh pivot tables...
  9. V

    Creating highlighting rules based on string values

    Hey all, I'm doing some data analysis work on a bunch of spreadsheets and I'm seeking a way to automate part of the process. The entire row is highlighted based on the string value in column I, there's many different string values I'll need to create rules for. The longest string I've counted...
  10. D

    Excel Accelerated Buttons Working Only Once

    I've developed a simple user form with a bunch of buttons that, when pressed, play a sound. I've also assigned a custom "accelerate" key to each button in a manner which when I press Alt + key the button is activated. The problem is, this happens only once for each button! Every subsequent...
  11. M

    Adapting VBA-Code

    Hi, I'm searching for a way to let a sheet remember what the previous value of the cell when it changes. I found a code that does this on this forum, and I am able to change the destination cell and the column it needs to monitor. The wish is to let it watch two columns and save it in two other...
  12. J

    I am new to vba. Can i get some help in writing a small macro code

    i need to create a macro to skip actions if their id matches to the list in another sheet in that excel for example something like : if Actions.setid matches id in sheet2 then I need to skip to next action For Each action In Enable.ConnectActions If Action.setid IN (sheet2)
  13. J

    Make a filter to all columns in a listbox

    I want to make a filter to show in a listbox all the coincidences with the text write in a textbox. and set focus in the coincidence. How can i do it? Here is my file LINK TO FILE Thanks for youre help
  14. Richard1982

    (Not so) Simple VBA Loop

    Hello, Really hoping someone can help me because I'm puling out my hair trying to solve this and getting no where fast. I have a PivotTable and one of the filters is for 'Vendor Name'. I can select a vendor then click a button I made and it fires them off an e-mail full of details which have...
  15. M

    Words like «MonthYear», «Month-Year» are not inserted in cells of column A when using a macro

    I have a macro: Private Sub Worksheet_Change(ByVal Target As range) Dim v, cell Set Target = Application.Intersect(Target, Me.Columns(1), Me.UsedRange) If Target Is Nothing Then Exit Sub For Each cell In Target.Cells v = cell.Value If VarType(v) <> vbDate Then...
  16. Keebellah

    Custom Help for data validation help button

    Hi guys, I wonder if somebody could help me with this. Using data validadtion I would like to have the Help button open a message bpox of whatever code I would attach to it instead of going to the Microsoft page. Is that even possible? Thanks in advance, I'm using Excel 2019
  17. R

    Save sheets in a workbook to the saved location of the workbook with specific filename

    I have a workbook "Test" with sheets "A", "B", "C" etc. I am looking to move each of these sheets and save them in the same location as workbook "Test" using a file name from a cell in the sheet. I am trying to use the following code for the above that I found in one of the MrExcel threads: It...
  18. C

    VBA to delete text after multiple carriage return (line break)

    I have VBA code on the Worksheet that records When, Who, and What Cell is changed when someone updates information in a row on the workbook spreadsheet. The code works well. I'm looking to start recording additional changes to each row, not just the last change. I've figured out how to use...
  19. U

    VBA: Code to skip or ignore rule If Cell data is not Identical

    Hi Gurus, Good day! I just wanted to ask for your insight as I found a code to merge accounts, however if the cell data is not the same, it will skip the code. Example: No Name Data 1 Data 2 001 Math 100 95 002 Math 100 95 003 Science 95 90 'VBA Code for Merging the Data 1 and...
  20. N

    Add the value taken from the user to my range for ActiveX ComboBox

    Hi everyone, I defined a ActiveX ComboBox named "cmbPeymankar", a Text Box (ActiveX control) called "txtNewPeymankar". a Command Button (ActiveX control) called "Add". I have a table named "Table1" in sheet "DATA" so that the first column of Table1 contains the names that should be displayed...

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