rws

  1. B

    VBA: Sort Range after New Data

    Is it possible to sort the range a to z after the code below. Private Sub CommandButton1_Click() Dim newEntry As Variant, rws As Long, adr As String newEntry = UserForm4.TextBox1.Value rws = Range("Grades").Rows.Count Range("Grades").Cells(1, 1).Offset(rws, _ 0).Value = newEntry Unload...
  2. N

    To check the Textbox Value in combobox. Split its value from combobox and Range address to display in Another Texbox

    Hello I get the Names and its range displayed in combobox with below code, want to check if the Name typed in textbox1 should however match the name in combobox with msgbox displayed "Exists" and its range displayed in another Textbox eg. Textbox2 I am unable to get the Range Address in Textbox2...
  3. I

    Split workbook into separate worksheets and copy only certain columns to new worksheets

    Hi....I found this code on the forum to split workbook into separate worksheets which works perfectly but I only want to copy across certain columns to the new worksheets. I want columns I, M and W to copy across the new tabs. Can someone please assist. This Sub columntosheets() Const...
  4. montecarlo2012

    Vba array subtraction problem

    Hello, I have been trying to work around this code and do not work, any help please. I have a row of 6 numbers at E2:J2 and one dynamic array at L2:Q I am trying to subtracting each number from E2:J2 from the array and the results at S2:X, just to simplify let think as the row (E2:J2) is...
  5. J

    Deleting rows based on the dates condition

    Hello, I have two tabs in by spreadsheet. "Report" and "Holidays". In the first tab I have data and one column contains dates (format: mm/dd/yyyy). Also, in column A of Holidays tab I have listed several dates. I would like to delete all rows from tab Report which are holidays listed in the...
  6. Pinaceous

    VBA shared file macro execution question

    Hi All, I've created a shared macro enabled document. When I try to execute a removing blanks code: Provided as reference: Sub Macro19() ' ' Macro19 Macro ' Removing Blanks ' Sheets("Sheet4").Select Dim r As Range, rw As Range, Rws As Long Set r = Range("B10:Q179") 'Change range to...

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