I've gotten in the habit of pasting Application.CutCopyMode = False at the end of nearly any VBA code that executes any kind of Copy/Paste function, since I read somewhere that it essentially clears any items from the Clipboard / releases any memory associated with it (and I'm often doing quite...
Hello
I have the code to prevent CUTCOPYPASTE
I need copy to work, because I need to copy the data to outside of excel.
Private Sub Workbook_Activate()
Application.CutCopyMode = False
Application.OnKey "^c", ""
Application.CellDragAndDrop = False
End Sub
Private Sub Workbook_Deactivate()...
Hi all,
I have this code that copies data from A1 down to J1 and down where the cells in column C (3) is not empty.
Sub FilterData()
ActiveSheet.AutoFilterMode = False
Range("J1:Q" & Range("J" & Rows.Count).End(xlUp).Row).ClearContents
Range("A1").AutoFilter Field:=2, Criteria1:="<>"...
Hello,
I can't figure out why Application.ScreenUpdating is not working, the screen flickers every time (after entering data on G2). I tried to figure it out from other posts, but it seems different things work for different people so I'm showing the code I'm struggling with bellow. Please...
I want the below macro to leave the user on cell A3 in the sheet "Crew Satisfaction Data" but for some reason it leaves the user on a different sheet ("Response Calculator") that isn't mentioned at all in the Macro.
Can anyone tell me why and how I can fix it?
Ewan :O)
It seems that nearly all of the macros I coded in the previous version of Excel have had some significant performance degradation since we migrated over to 365 and windows 10. Even simple code to just select, copy, and paste takes an inordinate amount of time to run. The exact same code runs...
Hi everyone,
New to the forum and very new to Macros. I am trying to get rid of the TRUE dialog box every time I run the macro below and not sure how to accomplish that?
Thanks in advance!!
Sub CheckBox372_Click()
If ActiveSheet.Shapes(Application.Caller).ControlFormat.Value = 1 Then...
Good Day to all,
I am new to VBA, I have Budget data in sheet1 as follow
<tbody>
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
1
Comp
Div
Acct
CC
PG
Dim
CURR
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2
905
101
4100
UC000
526
LU1
USD
52
58
53
63
57
56
53
59
57
63
69
72
3
905
102
4215...
Hello,
I have 4 worksheets in my workbook labeled, Baltimore, Owings_Mills, Towson and Westminister. Column A has a title in cell A1, A2 is blank and additional subtitles in cells A3 & A4 and then the names of the customers in cells A5 to the bottom row (this is never the same number of rows...
Hi,
I have a file which needs to be looked up for data in certain fields on a daily basis. I've created a macro in Excel using INDEX & MATCH.
The lookup file name is the same barring the date which changes on a daily basis.
I need to run the macro daily to lookup a new value to the master file...
I have an odd issue where the underlying VBA in my "WorkSheet" Code does not retain the value of a "Copy" after pasting to a cell.
Subsequently - I am unable to utilize the qat "UNDO" shared control as the copy value always reverts to Application.CutCopyMode = False immediately after pasting -...
I have this code which was working fine last week but today is giving me the following error
Run-time error -2147217376 (80041020) Automation Error
Anybody know why or how to overcome it, the code is just importing an XML file into excel
Application.CutCopyMode = False...
Can somebody help me with this macro
I want to run this macro until it reaches a blank cell.
Thank you very much for your help.
irenesboy
Macro1 Macro
' FormatSchedule
'
'
Range("A3").Select
Application.CutCopyMode = False
ActiveCell.FormulaR1C1 = "=R[1]C"
Range("A5").Select...
Hi,
I found the below code posted by Fluff. I think it will allow me to do what I want mostly.
However I want the user to be able to select the file and not have link within the file. Is this achievable?
Sub CopyPasteData()
Dim wb As Workbook
Dim UsdRws As Long
Dim FilePth As...
Hi,
I am trying to turn this macro into code that I can use everyday without having to have to change all the ranges daily. i have a report that has several formulas in in row and each day I need to copy and paste the formulas into the next row. the report is daily and built daily with the...
Hello, after i upgraded my PC from outlook2016 to 365(the app version), the following macro didn't create email anymore.
PS, if i disable the excel attachment the simptom disapers!!!
thanks in advance
MAcro...
Sub Save_and_PDF_online()
Dim WB1 As Workbook
Dim WB2 As Workbook...
I have a pivot table with inventory reports for a number of schools. I need to copy each school's section individually from a pivot table and paste on another sheet. Once I find the starting point for a particular school, I can use xlDown to set the correct number of rows. However, I need the...
I've only started to learn macro.
I need to work on a spreadsheet everyday (different number of rows) to basically do the following:
1) In worksheet "Combined", find the total amount of "deposits" for each account (column "J") and also total number of items on deposit (column "M").
2) Copy the...
Hi,
I currently have a workbook with multiple sheets that have a macro running to set a filter based on specific criteria from the main sheet. I would like to be able to have all items that are not a part of the filter (hidden) be deleted from the supporting sheets in an effort to reduce the...
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.