execute

  1. A

    Countif in power query

    Hello How do I execute the following code in Power Query? =IF(COUNTIF($B$2:B2,B2)=1,1,0)
  2. T

    "Can't execute code in break mode" when copying worksheet array to a new file

    I am trying to execute the code below to create a set of workbooks to send out various people in my organization. It copies a series of worksheets to a new file, breaks the links, and saves with their name and position number. When I step through this code manually, it works as intended...
  3. A

    Combo box Change Event twice

    When I make a selection using the drop down arrow, the change event executes once. However, if I type 1 character, the change event execute twice. I step through the procedure and I can see the code only execute once until to the end of the procedure and then my cursor changes to a wait circle...
  4. T

    Evaluate formula

    Assume I have this data on my worksheet from cell A1 through to B6: <colgroup><col width="64" style="width:48pt" span="2"> </colgroup><tbody> 1 a 2 b 3 c </tbody> If In cell D1 I type: =MATCH(1,(A1=A1:A3)*(B1=B1:B3),0) and enter it "normally", I...
  5. A

    Convert macro

    This was recorded Sheets("Sheet1").Select Cells.Select Selection.Clear Range("A1").Select With ActiveWindow .SplitColumn = 0 .SplitRow = 1 End With ActiveWindow.FreezePanes = True Columns("A:A").ColumnWidth = 36 Columns("B:B").ColumnWidth = 36 Is...
  6. T

    Running an update query via VBA, execute command can't find the update query

    Good Afternoon! I have a series of updates to run on a table and I was hoping to automate them with one click. I tried using the execute method as described here: https://www.fmsinc.com/MicrosoftAccess/query/action-queries/SuppressWarningMessages.htm The problem is, when I put my query name...
  7. N

    Executing Macro by clicking Cell Contain.

    Dear Sir, I Want to execute Micro by clicking Cell "A3" Containt. Can It Possibel.
  8. M

    no value given for one or more required parameters on execute statement in vba

    Hi, i have "Run time error no value given for one or more required parameters" on execute statement in vba I am trying to connect Excel as database. i am going to execute update query from one excel workbook. Public con_daily As Connection Public con_ele As Connection Public com_daily As...
  9. Y

    Way to execute vba code out of a cell w a double.click

    In Access & VB a field has the functions/methods where you can execute code subroutine on double.click. I see how to call a subroutine from a button... It seems there should be a call like Range.ondblclick
  10. C

    Cycle multiple Excel functions in single macro

    I am trying to create two macros and would really appreciate some help on this, as not sure where to begin. 1. AutoSum Min on first execute then AutoSum Max on second execute (if the macro is executed in the same cell). Then beyond the second execute, the macro should cycle through these two...
  11. K

    Execute a .exe file from a VBA

    I have about 100 programs that I am testing. I have aspread sheet to track the results. I am trying to execute the programs fromExcel using hyperlinks but that has problems. Would it be possible to do thiswith a VBA? Maybe use a case switch for the programs?.
  12. O

    How do I find a value in a row of formulae

    I have a row that contains 5000 values based on formula that I see when I highlight the cell. I can find the max and min values, but I don't know where they are in the row. When I execute a Find, it tells me it can't find the data. Is there a simple way to go about this?
  13. S

    Convoluted If/Vlookup formula? Not sure how to code this one.

    <tbody> Schedule Schedule Name %1 %2 %3 %4 %5 %6 %7 1 bla1 2 0 40 6 0 8 0 100 100 2 bla2 100 100 100 100 10 3 immediate 100 100 100 100 100 100 100 </tbody> Ok.. so this is a little complicated. I currently have an If statement written that says...
  14. V

    Execute a macro based a text in a column which is constantly changing by formulae

    hi people, Thanks in advance, and excuse me for my average English. I am very new to VBA. I have a excel sheet, where cells in column B will change on predefined time frame, ex.5 minutes. I want to execute a macro when any cell in that column comes to have specific text, say YES. Please help...
  15. F

    Actions of Macro depend on the value of a cell

    I am working with the following macros. I want to change the action of the macro depending on the value of a cell. If the cell = 1 then it should execute the second macro. If the cell = 2 then the macro should execute the first macro. Can anyone help. Thanks in advance Sub Callapes() ' '...
  16. R

    Loading CSV in to ram from network location is taking too long.

    Hello, I have had a worksheet working fine for 9 months. It normally takes 2 minutes to execute the macro in this worksheet, but for some reason in the last two months it started taking 6-8 minutes to execute. I was able to isolate the code that was taking so long. Open kmfile For Input...
  17. M

    Execute Macro Based on Cell Change -> without using Enter key

    The below macro creates a filter based on the value in A2. I want it to execute every time A2 changes. A2 is a cell reference to another sheet (pivot table). The only way the filter currently updates is if I press Enter in A2. I have tried writing this several different ways but they all require...
  18. I

    Macro to Auto-Scroll

    Hi, my problem is that i'm using an aplication to read the data in the TCP/IP port and send it to excel using DDE(Dynamic Data Exchange) . The aplication is "TWedge", So what i need is a macro to keep seeing the data on the screen when new data is placed in a row because the program does not...
  19. J

    how to add a button to my Excel permanently

    hi all i created a button, created with Custom UI Editor. but heere create the button for the Actual Book. i want so so do this: 1) click on button, open a File and execute myMacro. how to do this? thanks..
  20. J

    how to add a Ribbon and add buttons on it?

    hi all i have some macros for my Boss, actually i have in each book a button for execute a macro.. but i want add a ribbon and add here my macros.... How to do? thanks

Some videos you may like

This Week's Hot Topics

Top