vba macro

  1. B

    Copy/Paste Cells based on a condition

    Hello folks, I have the following issue and will be very grateful if you provide some help: I have one sheet which I need to manipulate some data and copy/paste from it (sample below): I need a script which searches for the word 'Open' in column A and next finds the first non-empty cell in...
  2. M

    Workbook Split and Re-Unification

    So I need a bit of help with an existing macro. I need to split a workbook's multiple worksheets into multiple files (not based on worksheet name). The project: It deals with very sensitive HR/performance data, and I need to send 1000s of employees' data to their individual managers (about 100...
  3. J

    Simple Tweak In Excel VBA to Insert a new row if condition meets

    Option Explicit Sub InsertRowBelowNegativeEntriesInFGHI() Dim lLastColRow As Long Dim lLastRow As Long Dim lColIndex As Long Dim lRowIndex As Long Dim bInsert As Boolean Dim bIsBalanceRow As Boolean Dim...
  4. P

    Macro to Highlight First Row of Each Unique Value in Column

    Hello Experts, I need help with a macro that cycles through one column ("Week-Ending Date") of a formatted table that users are updating each week to find unique values (e.g. "6/25/2016 or "7/9/2016") in that column and then highlighting the first row with that unique value up and through...
  5. A

    Delete duplicate rows keep last entry using vba macro (beginner)

    Hi, I have a sheet containing duplicate employee ID in column B. So what I would like to do next is to delete those duplicate entries (by row) and will just retain the last entry in the sheet. Row Column A Column B Column C Column D 1 PHMBIA Maricel A. Chemical...
  6. A

    find cells with dates using vba macro (beginner)

    Hi Gurus, I want to find the cells with dates using vba macro. I'm hoping to find dates under column Q which contains dates formatted as "m/d/yyyy hh:mm" and a text "---". After that, the return value is in column B which I plan to use offset function. I just also want to add that I'm a...
  7. W

    Vba to select rows based on date

    Hello, I want to select the rows based on the date and past it in other sheet. for ex: lets take today's date 24/06/2016. So now select the rows that is < 8 days and >8 days from 24/06/2016 on wards and paste it in the other sheet. Below is pic. Thank You! Regards Wither
  8. W

    PowerPoint Chart Copy Closing Mid-Format Procedure

    Programing a procedure which opens a .ppt template and copies in charts and tables from Excel for multiple generation of presentations (a Do Loop) for a new .ppt per record on a specific worksheet. What appears to be an every-other-time/record event, the pasting of an Excel chart is interrupted...
  9. J

    Excel Cursor point move to a certain cell if condition meets

    I am doing data entry in the excel sheet starting from column A to AB, I want a macro that if in the F column I put a text "C" then when i will press enter then the cell will move to K column then with next enter Q column then with next enter to W column in same row. I got a piece of code...
  10. J

    Insert a blank row If the condition meets

    I have a excel sheet where there are many Balance rows I want a macro that if in any Balance row there are negative value in FGHI column followed by any positive value a new row will be insert above the balance row.
  11. J

    Insert rows in excel based on specific Conditions VBA macro

    I have a excel sheet where there are many Balance rows. In Column A there are Demand Collection Balance Rows, where Balance = Demand - Collection. So there are multiple Balance Rows are there in that sheet. Column FGHIJ are inter related. I want a macro that if in any Balance row there are...
  12. J

    Copy Paste data fa webpage in excel through VBA macro

    I want to copy data from a web site in a excel sheet, in the website I need to click a list box then a click then a page will load & from that page I need to copy certian things & paste in a excel sheet then back to previous page again click the next number from the list box and so on.... can I...
  13. J

    Simple VBA Macro code modification required...!!!

    I am using the following code to calculate the Balance from the data, Balance = Demand - collection <code> lRowLastDemand = lRow ElseIf bFoundCollection Then bFoundCollection = False If c.Value <> "BALANCE" Then c.EntireRow.Insert lRowLast = lRowLast + 1 Set c =...
  14. K

    Working between workbooks and worksheets

    Off to a good start but need some help finishing this... Here's the situation: I am working between two workbooks; WB1 is used for the collection of data and although the workbook will have different data, the cells the data is entered in will remain constant, on WB2 I have 2 WSs (FPPI-Routed...
  15. J

    VB Inserting different end points for flight tracks varying points each time. Unbelievably stuck now!

    Hi All, I have tried various ways and still finding problems so I hope you are able to assist. I currently have a new macro which pulls a text file. In turn adds various points to a leading track. The end points may have 1/2/3/4 different end points and inn turn the leading tracks may also...
  16. M

    Running a macro to sum a range and having the average displayed in the next cell

    I have a macro that sums column C with varying numbers of rows. It works great with no problems. I would like to also have the macro take that sum and divide it by the value in cell M and paste the new value in cell D. My current formula is below. Const SourceRange = "C" Dim NumRange As Range...
  17. F

    VBA Run-time error '-2147417848 (80010108'): But I can't find what's wrong.

    I use this VBA in a macro. Excel2016.: Option Explicit Sub LastRowWithData() Dim lastRow As Long lastRow = ActiveSheet.Range("E" & Rows.Count).End(xlUp).Row Range("Control!B2") = lastRow Range("J1") = lastRow End Sub The debugger indicates that the red highlighted row is the problem. I can't...
  18. B

    Merge Rows Keeping all Data - No Summarizing, Eliminate Blank data - Excel 2007

    Hi, I've got a big file broken down into manageable sizes - about 4500 rows each. Each Unique Identity may have 1 to maybe 10/15 rows (varies). Mostly, each row contains one column of non-blank data (some have more than one cell that is non-blank). I want to merge/roll up these rows into 1...
  19. H

    Excel VBA Macro: Changing and filtering pivot works for me, not for my colleagues

    Hi all, Thanks in advance for your help. I found a lot of nice tips and tricks on this forum! Situation: I have created a dashboard based on a pivot table. I use different macros to filter data and change the dashboard. I have made different rectangles where I assign macros to. I have two...
  20. J

    Macro - VBA code to look at a cell rather than a hard-code

    The macro goes through 89 different items but rather than me type in 89 in VBA how can I link the 89 part to a cell (which is a name range called CounterW) which is doing a countif function and will change regularly? thanks in advance x = 1 To 89 Sheets("Summary").Select Range("e6") = x...

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