public sub

  1. M

    Command Button on Userform not working

    Hello All, I found a macro that creates an outlook appointment, this code works perfectly inside a module. I then copied this code and pasted it inside a command button in a userform, but when I run the form and click on the button, nothing happens as if there's no code inside the button...
  2. N

    Better Performance

    Good Morning Everyone! (at least at the moment where I am located), I am starting to get pretty deep into my current project, and I am having to take into account of the performance of my macro. I have 2 arrays - Both are 2D. One is 360x4 and the other is 120x4, and I have a seperate...
  3. F

    Public sub in a userform? Why is it not possible, or is it?

    Hi there, I am having a simple issue, I am not being able to call a sub that is in another userform. On userform1 I have this sub I use to load information to the userform. (It was before declared as Private, but I thought if I declared it as Public It would solve the problem) Public Sub...
  4. Default300

    ?Scope of Public Sub Procedure In UserForm Module: I Can Not Call it From Worksheet Module

    Hi. I want to write a Sub. I want to Call the Sub from a UserForm Module (CommandButton_Cilck Event). I want to Call the Sub from a Worksheet Module (Selection_Change Event). What Type of Module must the Sub be in? What Type of Sub should it be? (Presumably Public) Currently, my Sub is a...

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