application.cutcopymode

  1. A

    Automation Error/Excel Crashes during Cut Copy mode

    Hello, After debugging the code I was able to find where the automation error/excel crashes. I believe it is due to the numerous CutCopy modes in the code snippet. How can I make this snippet of code more efficient. I am basically moving a cell from one column to another based on a value. Thank...
  2. C

    VLOOKUP Macro Workbook Reference Variable

    Good morning, I am trying to create a macro that opens reference files and later will pull data out to compare in primary workbook (wkb). wkb3 is going to be the previous days file in each case, and opening the file works without issue. I am running into an issue referencing the Workbook...
  3. V

    Loop required for a macro

    Hi, Please check the following macro code and advice how can we run it in loop, Sub Loop() ' ' Loop Macro ' Range("D2:D8").Select Selection.Copy Range("E8").Select ActiveSheet.Paste Application.CutCopyMode = False Range("F2:F8").Select Selection.Copy...
  4. V

    Macro to convert 1 row into multiple rows except for zeroes

    Hi guys here is the 2 macros I have for this issue. The first one transforms one row from into 4 different rows and the next one removes the rows that have a zero. This way seems to crude and I was wondering how would I improve it. I'm thinking arrays and ranges probably? Thanks a lot Sub...
  5. A

    Filtering by variable criteria, then copy-paste the data

    Hi! I need to Filter An array of data by a criteria(emails), then the filtered results has to be pasted in other sheet, at a specific row(the row corresponding to each email address), but if there are two or many rows that has to be pasted, excel has to add the additional rows in the sheet. I...
  6. Jaafar Tribak

    Which Range is currently being Cut or Copied ?

    Hi dear forum members, I have a vba situation where I need to know the address of the range that is currently being copied (or cut) ie: when Application.CutCopyMode <> 0 . I wonder if I am overlooking some easy solution or missing something obvious. Regards.
  7. willow1985

    VBA for verifying whether a specific worksheet and cell have data or not

    Hello, I believe I am looking for a very simple VBA code but am not sure because of how my current Macro is structured. During one point while my macro is running it checks a certain cell (B16) and if it is blank it will issue a message, "No Results" and will end sub. If there is results it...
  8. willow1985

    Macro code keeps getting hung up

    Hello, I have the below code that used to run fine but now it seems to be getting hung up and excel now freezes and the macro does not complete. Any idea what could be causing this? Thank you Application.ScreenUpdating = False Application.Calculation = xlCalculationManual...
  9. R

    import multiple CSV files into sheet

    Hello All I am trying to import multiple sheets from a link, i currently do this by downloading all the file (28 files) and importing them to my sheet. I would like to have excel download right from the site and import into the sheet. I am currently able to download the 1 file into the sheet...
  10. K

    Run time error 438

    Complete novice and am trying to get the below code working: Sub GVLOOKUP() ' ' VLOOKUP Macro ' ' Cells.Select Cells.EntireColumn.AutoFit Range("E1").Select Selection.ClearContents ActiveCell.FormulaR1C1 = "Description" Range("E2").Select Application.CutCopyMode...
  11. M

    tidy vba

    Hi ive recorded a macro to transpose a cell contain text and then use in a validation. The code works fine but is really messy and i would just like to tidy it up. Wonder if there is any other code that would be more beneficial. Thanks in advance MC Code: Sub Macro3() ' ' Macro3 Macro ' '...
  12. T

    Simplify Recorded Macro

    <colgroup><col style="mso-width-source:userset;mso-width-alt:33901;width:695pt" width="927"> </colgroup><tbody> Hi Dear Members, I have a workbook with ten sheets, one of which is a Total Sheet. I need to extract data from at least eight sheets all from the same range...
  13. danhendo888

    Copy/paste macro so that it works for active sheet

    Sub TEST() ' ' TEST Macro ' '(Deleting whatever data is in LastSheet) Sheets("LastSheet").Select Rows("2:2").Select Range(Selection, Selection.End(xlDown)).Select Selection.Delete Shift:=xlUp Sheets("Sheet1").Select Range("A1").Select Workbooks.Open...
  14. P

    Runtime error '1004' select method of worksheet class failed

    Hello, Getting above error when running the below Macro, and cannot figure out why for life of me. I have searched endlessly, but am new to VBA so hoping someone can assist. I understand the code I've used is problematic due to the use of .select and copying/paste back and forth b/n sheets...
  15. S

    Macro Fill Down Not working

    Hello, I have the macro below. I have fill down in two columns but for some reason, it is not filling down to last row. It stops at row 71 even though there are 94 rows of data. The # of rows vary week to week so the last row # can't be static. I have pasted the macro below. I am having...
  16. S

    Copy Multiple Workbooks into One

    Hello, I need to write the VBA code make this easy. Range of A1:AN81 will put into or copy at the Range A+81. They are in the same folder. Thanks in advance. Please see the code below. Sub CopyPasteMultipleWorkbooks() Workbooks.Open Filename:= _ "G:\My Drive\2018-2019 SF1\Grade...
  17. D

    Selecting all cells based on Col A

    So I am tried to record a macro, and I am trying to select all the Columns and Rows based on how many rows there are on Column A. The "Range("A3:N100").Select" isn't doing it since it might be more or less, then my pivot tables gives me blanks or 0's that are in some of the cells. Any idea...
  18. G

    Macro - Command Button Issue

    Hello! I've got the following code to copy two columns on the front page and then paste it horizontally (copied vertically) on another page and then assign the date. Just did this through Record Macro. Works fine with normal buttons but I'd prefer a Command Button -- but it wont work, what's...
  19. H

    URGENT Help required Please!

    Hi all, I hope you can provide some urgent help. I was trying to disable the Paste options and used the following code in the Worksheet Private Sub Worksheet_Activate() Application.CutCopyMode = FALSE End Sub Private Sub Worksheet_Deactivate() Application.CutCopyMode = TRUE End Sub This did...
  20. H

    CutCopyPaste mode - will not deactivate

    Hi all, I'm sure this is a simple fix, but I have a code to turn off the past options, however they do not reactive once clicked off that workbook and remain activated on all other books. Can anyone explain my error? :confused: Private Sub Worksheet_Activate() Application.CutCopyMode = False...

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