endif

  1. Roderick_E

    Dynamic variable name?

    Suppose I have undeclared variables called: config1 config2 How can I make these dynamic in a FOR loop. For x = 1 to 2 if "config" & x = "something" then 'do something endif next x
  2. Y

    MsgBox problem

    Hello all, I have a problem with my VBA, maybe you can help me. Everything is working fine, but even if XXX!D13 =0, i still recieve an empty message with "ok" button. How can i change the vba, so that in case XXX!D13 is zero, not to have any message. This is my VBA: Dim msg AsString If...
  3. R

    Excel vba code

    Hello All,<o:p></o:p> I have Sheet1 , Sheet2 and Sheet3 in a workbook. <o:p></o:p> Can anyone edit the code vba code below to make it work justonly SHEET1 and not other sheets. <o:p></o:p> Thank you. PubliccurSheet<o:p></o:p> PrivateSub btnsearch1_Click()<o:p></o:p> Dimi, LastRow, caseFound...
  4. B

    Cannot resolve compile error - EndIf without block If

    I am getting an "EndIf without block If" compile error. If anyone is able to assist I would greatly appreciate it. Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address = Range("O2").Address Then Range("P2:U2,O5:P5").ClearContents End If If Target.Address =...

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