procedure

  1. S

    Control UserForm through procedure iin module

    I have a module with a procedure called Upload() and a UserForm where the user should insert both username and password and click the command button. I want to control the UserForm through the procedure Upload() instead of using cmdUpload_Click and such. Something like Public Sub Upload()...
  2. B

    VBA GoalSeek Comparion

    I'm relatively new to excel and have been having an issue with some vba in this model i'm working on.... Essentially I want to run 3 goalseeks on the same dynamic variable (L63) and return the minimum value goalseek finds. The following are the procedures for each goalseek: <!--[if gte mso...
  3. I

    Execute SQL Procedure in Ms Access

    <TABLE cellSpacing=0 cellPadding=0 width="100%"><TBODY><TR><TD class=smalltxt vAlign=top>Hi The procedure called from SQL database and would like to run through Ms Access In Ms Access I already running Queries using following function The above function execute all the SQLs from the...
  4. J

    Merging 3 odules into 1

    Hello GANG! I have 3 modules I am trying to merge into 1...they are: Sub WriteOffs() ' ' WriteOffs Macro ' maniplute Imported Oracle Data for write-offs ' ' Columns("J:L").Select Selection.Delete Shift:=xlToLeft...
  5. S

    Userform in middle of procedure?

    Hi all, I want to load a userform in the middle of a procedure and only continue the procedure after the userform has been closed. Is that possible? excel 2003 Many thanks, Shie Boon
  6. N

    Need to pass only one value from procedure

    I need to pass the value of a variable from one procedure to another without running the entire called procedure Private Sub openReport(ByVal strProductFile as string) MsgBox "Open previous week's report.", vbOKOnly + vbExclamation, "Open" Application.Dialogs(xlDialogOpen).Show...
  7. S

    Call Worksheet_Activate Event from procedure possible?

    Hi guys, is it possible to call a Worksheet's activate event from a procedure? Or maybe, refresh a worksheet from a procedure. i'm using excel 2003. Thanks Shie Boon
  8. D

    Calling a Procedure

    Is it possible to call a label in a procedure? In other words, I want to run part of the code in a procedure rather than running the entire procedure. Call LabelA Public sub ProcA do something... LabelA: do something with LabelA.. End sub
  9. 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...
  10. sachin.acharya

    Calling Procedures From Other Workbooks

    Hi all, From within the code in an Add-In I am trying to call a procedure from the ActiveWorkbook. So my code looks somewhat like: Sub MyProcedureInAddin() 'My code here... Run ActiveWorkbook.Name & "!SomeProcedure" 'My code continues... End Sub This works fine if...
  11. L

    Compile Error: Procedure too large OH NO!

    Finally got all the bits and pieces working together (in I'm sure the dirtiest way), but it seemed to be doing what I wanted, then when I tried to expand it...fail. Rundown: I have a workbook where I select checkboxes (cells) on the first tab, and then a macro copies the corresponding column...

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