myvar

  1. T

    Adding hh:mm:ss in VBA

    Hi, I'm currently writing an automated process that opens up a productivity report (xls) and has to add together a bunch of different times to work out a total. Now, when I try to add together the values from individual cells, rather than adding together the raw value within the cell, I get a...
  2. B

    Copy visible cells after autofilter

    Hi Everyone, I'm a newbie to the forum & only a beginner in VBA trying to self teach myself as I did with MS Excel, so would be grateful for your assistance & advice. So here's my problem... I've got a large data set table of information with various row records identified by a unique...
  3. K

    Help with vba code

    Hello All, I was wondering if anyone could help me with this. I've been trying to figure it out for days now, but just can't. below I have a code which allows me to change the value in a cell with a double click. I can do this in any cell in the worksheet. the problem is, I only want to be...
  4. D

    Help - script loops through a range of cells, compares, and makes a change when match is found

    I tested this script and it walks through all 27000 cells (D3 - AZ500), changing each that is not blank to a red background: Dim MyVar As String Dim i As Integer Range("D3").Select For i = 1 To 27000 If ActiveCell.Value = "" Then ActiveCell.Offset(1, 0).Select Range("D" &...
  5. T

    Clear variables

    Is it necessary to always clear your variables in a loop? For example, of the two methods below, which is preferable or are both the same? Dim MyVar As Class1 For Each Cell In Rng Set MyVar = New Class1 Call MyVar.SomeMethod Set MyVar = Nothing Next Cell or Dim MyVar...

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