macro - auto run

  1. P

    Seeking Code / Macro to Edit Row Height

    I piece together weekly reports for my team. I keep row heights at a minimum 75.00, 100 pixels and maximum 203.25, 271 pixels. To take a lot of time out of this task and make it automated, I would like to conditionally format (though probably not possible based on my research) or enter a code /...
  2. S

    Auto protect certain columns after 5 minutes inactivity

    Hello! I have prepared a document in which about 50 volunteers must indicate their availability on certain dates each month. The columns in which they indicate yes or no should always open for editing, for anyone. In contrast, columns A through L contain information they should never be able...
  3. bridget_g

    move onboarded selectees to completed table

    I am trying to get the script/macro to move my selectee from onboarding table to completed table. 437&438-Onboarding table column y= "Move to Completed" is a drop down and is blank until "YES" is selected from the drop down. (that is the only option) Station Selectee Effective Date Position...
  4. K

    Increasing row before the macro runs again

    I am a beginner trying to maintain my business data using Excel. I created a macro that copies the information from a sales info table and pastes it into an adjacent table that records the customer's name, items bought, total sales, etc. But when I rerun it the next row is not being used and it...
  5. A

    3 way use button to run macro

    Hi! I'm a complete begginer, so i don't know much about coding. I'm trying to create a button to run a macro that does the following: 1.- Save sheet2 in a specific location as PDF and saves the hyperlink in sheet24 of the active workbook in column 11 2.- Save a copy of some of the sheets of the...
  6. K

    Macro error

    Hello everyone I have a problem. I'm trying to run a macro but it doesn't work. When my co-worker runs it, it works perfectly. We both checked the settings in our computers and we have the same enable so I don't know what is the problem I would really appreciate if someone can guide me Best...
  7. S

    Need some help with a Macro

    Hi all, I am a completely new user to Excel Macros! I have sourced myself a code from this site, that goes a little something like: Private Sub Worksheet_Activate() Dim LookupRange As Range Dim MoveToRange As Range Dim MoveDay As Long Dim ClearRow As Range Set LookupRange =...
  8. A

    macro

    macro
  9. T

    Extracting information from multiple columns located in different workbooks to a specific worksheet in another workbook

    Hi everyone! I'd like to seek your expertise here as I am new to macros/VBA. I have 5 workbooks, and within each workbook, I have a number of worksheets. However, from these worksheets, I'd only require about two to four columns of data to be copied (these could be 1 - 2, 3 - 4, or, 1, 3-4, 5...
  10. P

    Record macro update xml

    Hi all, hope you are doing. I'd like to ask if someone can guide me how to build a macro that updates automatically xml tables? I have already recorded a macro to map the xml however when i try to record an update or import the files it gives me an error. It might be simple but can't find a...
  11. S

    Macro helps please

    Hi All I would really appreciate your help. I would like to create a manager workbook for individual managers which include different tabs for appraisals, training and sickness of lists of there staff. Currently I have managed to pull the different reports for all and complete a macro to...
  12. A

    Looping the Solver function using Macros

    Sub Macro1() ' ' Macro1 Macro ' ' SolverOk SetCell:="$BD$8", MaxMinVal:=3, ValueOf:=0, ByChange:="$AJ$8", Engine _ :=1, EngineDesc:="GRG Nonlinear""" SolverOk SetCell:="$BD$8", MaxMinVal:=3, ValueOf:=0, ByChange:="$AJ$8", Engine _ :=1, EngineDesc:="GRG Nonlinear"""...
  13. A

    Automatically Merge data from a specific range from multiple sheets(avoid blank cells)

    Hi, I need help please! I have this code but I need it to work automatically. The idea is= I need to gain the data from the range "A6:W29" but only cells with data and to do it in every sheet except for "RESUMEN" "S.Inicial" and "S.Final". Right now I can merge all the info but running the...
  14. T

    Multiple Line Charts Based on DataRange Sheet

    I have 2 sheets in my excel file (Data and DataRanges). DataRanges sheet includes Start & End columns (multiple rows) which represent the range for each graph. The data sheet includes Data Serial which will represent data in serial for those ranges (start, end) to plot a simple line graph...
  15. H

    Running Macro on all sheets that meet cell criteria

    Hi, I'm trying to make a macro run on every sheet in my workbook, problem is macro doesn't work if cell value is 0: Sub Ola() Dim Rng As Range Dim InputRng As Range, OutRng As Range xTitleId = "KutoolsforExcel" Set InputRng = Application.Selection Set InputRng =...
  16. A

    macro run in multiple locations but uses the same file in the multiple locations ie the macro needs to select the file in same folder its in

    how do I add a Macro that will work with multiple CSV files of the same name. but only search the one thats in the same(file) location. as the spreadsheet using the macro normally you could use .\ to reference the same folder, but this doesnt work. any help would be great My spreadsheet...
  17. A

    Macro crashes with button, works perfectly if run line by line

    I'm using Office 365 and am importing data from an external database, creating a query as I do. I then have a macro that does some formatting and copies the table, without headers, to my main table. The code works perfectly if I open the editor and run it line by line. When I create a button to...
  18. jaeremata

    Compare 2 worksheets

    Hi Everyone, I need you help regarding with my problem. I don't know how to do it. I have 3 files, 1. Result 2. Files 3. Score On the result worksheets, I have a list of vendor including the path of each worksheets( Score and Files). What I want to happen is to find the latest date on...
  19. S

    Run a macro on save sheet

    Note: I'm too basic in VBA/macros... I have a macro that exports my sheet as CSV without leaving the XLSM file, that works great: Sub ExportCSV() Dim MyFileName As String Dim CurrentWB As Workbook, TempWB As Workbook Set CurrentWB = ActiveWorkbook...
  20. C

    How to modify code to update multiple workbook files which has the same format but different data?

    Hello excel programmers. I don't know if you can help me. Yet again, if you are comfortable to view the files below for testing. This is my concerned. I have a code for each of my workbook files below. (I have over 100 workbooks which has the same codes and excel layout, but different data)...

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