rangea

  1. B

    Code Explanation

    The code below inserts a row between data which is <> identical to the preceding cell in column A. What I am unsure of is the lastrow to 3. In particular 3. Could someone provide explanation and or can this be observed line by line. Thank You Still learning Sub insertRows() Dim i As...
  2. V

    code needed for lower case and upper case with condition..

    I have question on this, please. Please guide, what can be the solution.. I have some preposition's in my sentence..which are.. and, at, is, for, of, or I want to keep them in small letter and rest other text in proper case... I am showing my code.. '*Text Formating Proper, LowerCase...
  3. M

    Repeat macro on different Sheets

    Hi, I want to perform the same macro on different sheets in my workbook. I have 10 sheets for which I want to perform the macro. (Sheet "2007" to Sheet "2016) This is the code to be executed on every sheet : Sub SelectName() Sheets("2007").Select Range("A" &...
  4. C

    Hyperlink to Specific PDF

    Hi, I have set up my own stock control with Purchase orders. Using a VBA I save the PO to a register and also save a pdf copy to another folder. i would like to open the PDF from the Register using a hyperlink (this i have completed), but it only opens the folder with the PO's listed. How can...
  5. L

    VBS Summing

    I am using the following code: Dim r As Long For r = Cells(Rows.Count, "A").End(xlUp).Row To 3 Step -1 If Range("H" & r).Value <> Range("H" & r - 1) Then Rows(r).Insert Rows(r).Insert End If Next r For r = 2 To Cells(Rows.Count, "A").End(xlUp).Row + 1 If IsEmpty(Range("a" & r).Value) Then...
  6. B

    delete row based cell value

    Hello, I have a spreadsheet with data in column A. Rows 1 to 16 are filled with header information and a linest function. Since the linest function does not exclude hidden cells I need a macro that will delete the row if the cell value is less than my input criteria from F1 and also if the...
  7. H

    Adding IF statement to Row Delete

    Good Morning, I am putting the final touches on my macro and have two issues I need help resolving. 1) I need to create a IF to a row delete since when there are no rows to delete I get and error. here is the line of code. Range("A7:A" &...
  8. C

    Stumped and looking for solution tonight,

    OK so here is the VBA I am using. its supposed to delete the row with the work Multi_Skill if the row below it has a blank cell in column A and a specific text in column H. the dang thing isn't working. What have I done wrong? Sub fixBlankname() Sheets("Data").Activate For My_ROWS = 1 To...
  9. C

    If VBA with copy

    Trying to write VBA that looks for blank cell in column A. if blank copy the cell directly and to column G above it and paste in the blank cells. Im a little stuck. here is what I have. Sub Copyname() Application.ScreenUpdating = False For MY_ROWS = 1 To Range("A" &...
  10. A

    What does this VBA code do?

    Range("A" & .ListIndex).Value

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