rangeb1.value

  1. L

    swapping 2 selected cells/ranges -vba

    Hi I wrote a code to swap 2 cells. Can I swap 2 selected cells/ranges instead of hard coding the way I did it. Thank you so much Sub myswab() Dim tmp As Double tmp = Range("a1").Value Range("a1").Value = Range("b1").Value Range("b1").Value = tmp End Sub
  2. M

    Need more help...

    I recently created a spreadsheet that will notify me of upcoming offsite meetings by two weeks. Here is a partial code With OutLookMailItem .to = MailDest1 .bcc = MailDest2 .Subject = Range("a1").Value .Body = Range("B1").Value I like the subject line to include the...
  3. G

    Multiple If in macro

    Hi. Can u guys help me with changing a litle bit this macro code? It's works but when I try to change it for multiple IF nothing happend.. Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Range("B1").Value = SKD Then Columns("C").EntireColumn.Hidden = True Else...
  4. E

    Code to auto filter - need to make it more efficient

    Hi, I am using this code to auto filter across different sheets. Could someone help make it more efficient please? Private Sub Worksheet_Change(ByVal Target As Range) <code style="margin: 0px; padding: 0px; font-style: inherit; font-weight: inherit; line-height: 12px;">' On Error Resume...

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