excel 2010 macro

  1. L

    Macro help!

    I am trying to create a macro to copy values from multiple row cells and paste those values into multiple row cells on another tab. THEN: If the user changes any of the values that were copied and pasted previously (from the first tab) and the macro is run again, the data is again copied but...
  2. F

    VBA in 2010 to select each Slicer Item then Call/ Run another Macro to pdf to email before repeating with the next Slicer Item etc

    Hi, Im yet to go on a VBA course, however Ive managed to find a VBA code to pdf a report in Excel 2010 and automatically send it via email. However, now the report is a bit more dynamic - the pivot table is linked from Access and Im using a 'Slicer' to individualise each report that is to be...
  3. C

    Cannot run a Macro from Quick Access toolbar or Ribbon

    I am using Excel 2010. I have created a macro in my PERSONAL.xlsb file that I am able to run if I go to Developer - Macros - Choose the macro name - Click run. However, if I add the macro to the quick access toolbar or the ribbon, nothing happens. I don't receive any error messages, the...
  4. S

    Filter data based on a column and calculate average dynamically for all the filtered rows

    I have a table where I need to find the elements present in different samples. For every sample, the no of iterations is a variable - I can have two rows of sample 1 and 3 rows of sample2 or 5 rows of sample4. the number of columns which are the elements can also be different. I have considered...
  5. C

    Compare two cells, and synthesize the difference.

    Hi, I am comparing some data on types of differences: additions and deletions. I've used some code from a previous thread to compare two strings and find difference; and simply switched the WORDDIF arguments accordingly. =WORDDIF(A1,B1) Code: However, I have come to some obstacles. 1...
  6. R

    how to sum numbers greater than the average without using worksheet functions

    So I needed to create a random range and then calculate the average of that range. Once the average is calculated I need to: A) Calculate how many numbers are greater than the average, highlight all numbers greater than the average and place the amount of numbers that are greater than the...
  7. D

    Saving picture from Excel to SharePoint

    In the two subroutines at the bottom of this post I am able to save a .gif from a workbook to a normal network folder but when I attempt to save to a SharePoint folder the code error out. These two lines of code... Save_Object_As_Picture Worksheets("CA Info").Range("C3:I142")...
  8. J

    Cant get check on directory existing to work

    I have tried a few different ways of checking now and none have worked so far. Here is the most recent version which did not work: Public Function MakeFolder(Directory As String, FolderName As String) Dim TestDir As String TestDir = Dir(Directory + "/" + FolderName)...
  9. B

    Run time error 1004 - cannot save file this workbook with the same name

    I have been using this macro now for years and for some reason today is starting to throw this error. The macro takes a workbook and creates a new workbook for each worksheet, runs the macro "Customer Invoice" to format the file and then saves the file as the name of the worksheet plus the...
  10. A

    VBA Request - Break External Links Leave Formulas and Values

    Hi, I am trying to modify this VBA I found on the forum that is several years old. Sub Test() Const LinkName As String = "Book1.xlsx" Dim CalcMode Dim ws As Worksheet Dim WorkRange As Range Dim Cell As Range Dim FormulaParts As Variant Dim i As Integer Dim...
  11. E

    newbie query excel 2010

    Hi All, I'm a newbie to the forum and have limited a understanding of Excel. Currently using excel 2010. My question is around totalling columns across multiple workbooks. Let me break it down more sizeable and understandable format. Data source is in workbooks with names such as ( 2015...
  12. A

    Macro Works One Way But Not Other - Why?

    The macro is to change all formulas into values: When I run it, I get the error message if I type as it is in book, that is, with "with ActiveSheet" on same line. However, if I have it on separate line, it works. Why is that? Compile Error Syntax Error with the Dim line highlighted. Macro...

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