help - macros

  1. S

    Find and Replace - Error 91

    Hi there, I am running a find and search function on a column of data on a simple Macro I have created. However I seemed to be getting error 91 when it is encountering data that it cannot find. My current code is: Range("I:I").Select Columns("I:I").Select Selection.Find(What:="1"...
  2. N

    VBA Coding help

    Hi Everyone, I'm looking for you expertise here! I have never had to do this before so I am very confused with it all. I am trying to put about 400 different workbooks (all headings and rows) into one worksheet table. I need the formation to go from being in vertical in the workbooks to...
  3. T

    VBA Sort Column C A-Z error 438

    https://imgur.com/a/tO6cmWG The issue is the range i'm filtering will vary so the established range C1:C690963 and lower in the macro A1:A690963 need to be undefined. Does that make sense. Besides i'm using the same data set input as yesterday and yesterday I was not receiving an error so maybe...
  4. T

    Need UDF to remove non numeric characters

    I found this How to remove all non alphanumeric characters from a string except period and space in excel? which is a UDF to remove the opposite; nonalphanumeric characters. I don't have a list of what classifies as a non-numeric. I'd want to intergrate it in a macro like shown in the top...
  5. T

    Combining Duplicate Rows and Summing the Values using VBA - Beginner Question

    Hi All, I am not sure that this is the correct place to post this, but I have a VBA question. I found a set of code online to do what I desire, but I need to modify it to suit my needs. What I am doing is this: I have a set of Names and values separated in my excel sheet as "Divisions" ex...
  6. T

    How do I transfer large ranges into memory first, then do the comparison vs memory instead of by a cell range?

    The below macro clears cells that do not match with the D column range. The issue is my required ranges are too large for the macro to run on my computer. Sub REMOVEPIDS()Application.Calculation = xlCalculationManual Application.ScreenUpdating = False Application.DisplayStatusBar = False...
  7. T

    Macro to clear cells in range that do not match any cell in another specified range? [pic example]

    https://imgur.com/a/OyeoFv9
  8. T

    How to filter out #N/A Column BC in VBA

    The columns relevant here are BA,BB&BC although I may put this data on a separate sheet just in A, B & C The number of cells occupied and contents in BC changes. Which is why I can't press record and be happy. On Columns BA,BB&BC data filter is applied. I click the header drop down in BC and...
  9. D

    Counting number of times a number will appear in a Pasted column, some cells having multiple numbers in them using VBA

    For example I would paste in A1: 995 950-993 *995-118 118 790-118 I want it to return on a separate sheet: 995 2 950 1 993 1 118 3 790 1 Right now I have it coming back as exactly what is pasted in the cell and cannot figure it out what so ever.:confused: Thank you for your...
  10. T

    How to select first blank cell in specific column in next sheet?

    https://imgur.com/a/2ejmwWa I have something copied on my clipboard and I want to select sheet 2 row F (first blank cell) and I have the pasting code ready but I can't fix the in-between despite searching forums such as this one. The first picture starts at the copy action. after copy I try to...
  11. T

    Selecting criteria range in advanced filter; cannot define control shift down on c1

    If recorded control shifting down on C1 VBA creates a defined cell range instead of a dynamic one Range("C1:C13"), CopyToRange:=Range("D1"), Unique:=False So I tried to insert VBA I thought would correct the issue because it works normally but got this error Wrong number of arguments or invalid...
  12. M

    Highlight Columns- Highlight count series of max frequency consecutive positive numbers

    Hello, I'm Looking for an excel Formula or VBA code to color (highlight or background fill) columns based on the count series of max frequency consecutive positive numbers. It should be left open ended for more data to be added after column P and Lower than row 5. Rows described: 1. max...
  13. T

    How do I paste text into a cell without overwriting the text that is already there with VBA/macro?

    https://imgur.com/a/PiUe6Lz I want the macro to be relative because the actual data is in adjacent 2 lists so it just keeps going down. All the VBA I know just overwrites the cell or Takes the first row's formula copied as a quote and applies that to every output rather than whats inside the...
  14. S

    In depth checking of two excel lists

    Some Background We provide a software system to organisation to manage their grant making processes. Our online system removes laborious paper centric practices and moves this all online. When a client signs up with us, we need to import a history (3 years) of their grants so that when...
  15. M

    Creating an Xml file in Excel using VBA and loop function - help needed

    Hi, I want to create a XML file in excel. I have created the schema in excel in the correct syntax needed for the XML file. I have my date in column B - Z - column A has some static elements which will be used within the schema. I want to paste my data which will vary in to columns B-Z and...
  16. R

    Assistance requested writing macro to prepare data for pivot table. THANK YOU!

    Hello! Every week, I get a report on student grades for tests/projects on different dates. The report that's generated exports to excel but it's not the easiest to work with. I'd like to make a macro to convert this data to a different format (Like student names in rows, classes in columns...
  17. C

    Macro - edit and reorder data into new cells

    This a sample of the data that I have entered into Column A after opening an output from a third party program. <tbody> <tbody> <colgroup><col width="571"></colgroup><tbody> Nc1nc2c(ncn2C3CC(C=C3)CO)c(n1)NC4CC4 abacavir_DB01048_B3_TGA.smi_0 </tbody> <colgroup><col...
  18. R

    VBA - user form for stock control

    Hi, I am new to VBA and need some help. I have a user form designed to enter: Stock code Price Qty Postage cost I have it set up so that when you enter: Stock code - value goes to sheet (sales) and enters the value into next empty cell column a price - column b qty - column d postage cost -...
  19. Mister_J

    Macro to Split Up a Column

    I could really use some help creating a macro. I am still a beginner when it comes to creating macros but I have managed to piece a couple together with the record function and making some tweaks here and there. But what I’m asking for is WAY over my head. What I’d like to create is a command...

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