.range

  1. C

    Need help adding the same formula multiple times below the last row with data

    Hi all Could any of you please let me know if this is possible. The macro below adds the formula 5 times after the last data entry. Is there a way to shorten it, so the rows 1-5 could be on 1 line. Sub Test() Dim lLastRow AsLong With Sheets(1) lLastRow = .Range("K" &...
  2. M

    Clear content of several ranges (inc Message)

    Hi, For the life of me this doesnt work, any ideas? Many thanks Sub Clear_Estimated_Hours() Dim Msg, Style, Title, Help, Ctxt, Response, MyString Msg = "Do you want to continue ?" ' Define message. Style = vbYesNo + vbCritical + vbDefaultButton2 ' Define buttons. Title = "Delete...
  3. E

    Excel 2007 Macro - Range or .Range

    Hi I am using Excel 2007. When searching the web for answers / tips to writing macros when referencing a range (single cell or several) I have seen both .Range("A1").Value = "" and Range("A1").Value = "" used. Can someone explain in simple terms what the difference is and when .Range or Range...
  4. S

    Dynamically changing vlookup table

    Every month I run a report whereas the table size changes. I need to be able to account for that. I recorded this: <code>Range("B1").FormulaR1C1 = _ "=IF(VLOOKUP(RC1,sorted!R3C1:R35C33,8,FALSE)="""","""",VLOOKUP(RC1,sorted!R3C1:R35C33,8,FALSE))"</code>I need to have it update...
  5. M

    Need help with userform data transfer

    Hey guys, first and foremost. ALL YOU GUYS ARE AMAZING! I've learned so much from this site (more or less VBA newb) and I just have to say, I am thoroughly impressed with how helpful everybody is on here. Really really awesome! Ok, time for my issue! I am improving a quote spreadsheet I made for...

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