excel macro

  1. G

    Automated PDG Report from Chart Data

    <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/>...
  2. R

    Macro to copy/paste item from list

    I have a list of names in Range A20:A55. Starting from Cell A20, I want to invoke a macro to copy current cell on the list to location "C3" then return to list and move down 1row to next item on the list. Then calculate and stop. Will repeat the macro from each item on the list, then calc and stop.
  3. C

    Runtime error 9 excel macro

    I'm not sure what I'm doing wrong when entering this code, but I did use it before and I'm not sure what I did the last time. Basically what i'm trying to do is to copy a range of columns and paste them into another set of columns. When I type the macro the error comes up for the first line...
  4. A

    Need Excel Macro to copy column from one file to onther file

    I need to copy column from one file to another file.I tried most of the online available code but it's not working for me.
  5. A

    run time error while using unprotect

    Hi Friends , I am trying to unprotect and worksheet from another worksheet of same file when user selects a value from dropdown combobox. System gives runtime error 5 "invalid procedure or argument " Part of my code is : Sub ChangeSellDataSource() With...
  6. T

    VBA help-Check if book 1 data already exist in book 2 and if not append, otherwise exit macro

    Hi all, I am new to VBA and I tried to write a macro to append data from Book 1 (active workbook where will have the macro) which is updated daily, to Book 2 ( close Archiving excel) which is only used for queries. Book 1 and Book 2 have the same column headers in row 1, with dates in column A...
  7. S

    Automatic data update macro running absolutely fine, just not pasting

    The code below runs/loops just fine and pastes the cells(7,9) to the other sheet. It also pops up and stops the msg box on meeting a blank cell. However, other than that first cell there is no other cell on the target sheet that is being populated. I've tried assigning values directly through...
  8. G

    Close blank workbook after launching Excel

    I have code to close the blank workbook that is automatically opened when Excel 2003 is launched. I need help with the procedure to save it ( I think as "Personal.xls" to the xlstart folder ). Any help is greatly appreciated. G. Bueckner
  9. A

    Add Action in X at userform macro VBA

    I have a userform in macro which gets the source from another workbook(test.xlsm). So I used this code below to open that workbook without showing it. picture : https://ibb.co/krd66R <code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-variant: inherit; font-weight...
  10. M

    Adaptive Insert Row

    I have a macros that auto inserts rows based on values. I have 30+ Sheets on one spreadsheet, and if I use what I have, I can't get the rows to insert where I need them. Sheet 1 is set to insert rows at "3:3", Sheet 2 at "4:4", but if I use the macro for Sheet 1 then Sheet 2 inserts the rows out...
  11. S

    Pull info from multiple workbooks to generate a report

    Hello all, I'm new to the forum and to VBA in general, I was hoping to get some assistance as I'm a complete novice. I have a folder on a Network drive that we house multiple .xlsm files in. The files itself are all the same and very basic. B2:B4 have title fields and C2:C19 have data fields...
  12. Z

    Macro shortcut question

    I have 2 Excel workbooks open that both have macros. When I use the shortcut key to run a macro while in workbook 2, the macro from workbook 1 (the 1st workbook that I opened) runs. Why is this happening and how can I ensure that Excel runs the macro from the workbook that I'm in? Thanks, in...
  13. D

    Macro For Reminder Notification in Outlook From Excel Data

    Need help for the below I am having the data in the excel with the columns as below 1. Event Name 2. Frequency of notification ( Daily or for specific days) 3. Dates from 1 to 31 ( in which date notification required I will fill that cell with "Y") 4. Time to be notified As per this data...
  14. C

    Conditionally copy cells into non-consecutive columns

    I've been using a VBA macro to copy cells from one sheet to another, but I now to make a slight modification which I'm struggling with. My sheets look as follows: Sheet 1 <tbody> Code Description Unit Price AB Item 1 KG 10 CD Item 2 Litre 20 EF Item 3 KG 30 </tbody>...
  15. J

    Macro Excel put values down columns

    Hello I have this macro and it works fine, except... The only issue I am having is my data is not consistent. In column "O" some of the rows have the client name and some don't. I need to update my macro so that when it runs all rows in column "O" are completed with the client name. The value...
  16. N

    Applying VLookup in VBA to Filtered Data

    I have the following which is referring to a cell within filtered data and applying a vlookup to that cell, this works great. Now the hard part is getting the last two lines to work, which autofill the FILTERED DATA with the same vlookup formula. This is where I'm messing up and need help...
  17. P

    Beginner at VBA, getting a 424 error

    Hello, I'm currently trying to write a macro which will accept user input for a range, where if only a single cell is selected, then the entire corresponding row to that cell is considered as the user input range, but I keep getting a 424 error with the following code: Sub Calculations() Dim...
  18. K

    Excel macro to check data

    Hello, I'm new to the forum and need your help. I have a spreadsheet coming where I need to validate the data columns on a monthly basis. Im thinking of maybe write a macro to do such. Column data validation includes checking to see if the date Is within requested range, whether the column date...
  19. N

    Excel Macro - save all tabs (except specific ones) to single PDF file

    Can you please help me with this? I would like to have a vba code that selects all tabs in the workbook, except for example "tab abc" and "tab def" and "tab ghi", then save to one single PDF. Thanks in advance!
  20. G

    Excel Macro - Using IsNumeric and Cell IsEmpty as a condition

    If IsNumeric(ThisWorkbook.Sheets("sheet1").Cells(RowCounter, "A")) = True Then Call Method End If InitialRow = InitialRow + 1 Next MsgBox ("The End") End Sub Hi All, Above is the Code if the Column A has a Character go to Next line Works Perfect. BUT it Exits...

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