Ok so I am recording a Macro (actually not the whole thing, trying to learn to write). My issues is I unhide my udpate sheet "Forecast Update", open "H:\FORECASTING GROUP\Demand Planning\Forecast Reviews\2017 Q4 Review.xlsx" and want to copy and paste from "H:\FORECASTING GROUP\Demand...
I used the macro recorder on a protected sheet to copy and paste and I am getting the following error if someone can please tell me how to get rid of it please....thanks for any help
Wb.Sheets("Test1").Range("F5:H5").Select
Application.CutCopyMode = False
Selection.Copy...
Hi,
Every time I toggle between Excel and PowerPoint using vba, ppt crashes and I don't know the reason why. But when I try to run manually by pressing F8, it works perfectly fine as required. I have tried searching a lot of websites but didn't get a work around. My work is simple.
I have...
Hi, i record a new macro but i faced a problem when i click the button to copy a cell value in the first row from sheet "Marge Carburants" to sheet "recapitulatif"
it's copy just the first row and didn't jum to the next cell when i click the button to add an other row in sheet "recapitulatif"...
Hello!
I have been trying for a few days to get this macro to loop. It needs to take info from page 1 and paste into specific areas on sheet 1 then print. I have it doing that much but I need it to do this for each row on page 1 until there is no more data. It is to print some very basic...
Hello,
Hi, how to copy data from one sheet to a table on an other sheet using macro records , i faced a problem when i click the button it's working good but if i try to add other data it's overwrite the first one(it doesn't copy the data on the next row).
thank you in advance
This is the...
I used the VBA code below but need to reinstate or enable cut copy paste in Excel 2010. Thanks in advance for your assistance.
<code class="vb keyword" style="white-space: nowrap; padding: 0px !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace...
Hello,
I am trying to copy cells from one tab to another as a picture. It copies as a picture, but won't resize. Code gets an error after pictures.paste
Thanks in advance.
Application.CutCopyMode = False
Worksheets("Orig-Plant").Activate
ActiveSheet.Range("B2:N67").Copy...
I've got a bunch of code that I got some from borrowing from other files and some from using the macro recorder. I was hoping to get some help with cutting out any unnecessary portions and condensing it. It mostly consists of a web query and the copying several ranges and pasting the values on...
just a simple copy and paste. add formula and fill down then copy, past and sort. What am I missing?
Sub Macro4()
'
' Macro4 Macro
Dim i As Long
Application.ScreenUpdating = False
i = Range("A" & Rows.Count).End(xlUp).Row
For i = lr To 2 Step -1
Range("n12:n" & i).Copy Range("E12:E" &...
Hi all,
I've created some coding to create a number of worksheets, to then move each sheet to its own workbook and save the file in a specific location. It works fine but for one small annoying problem.
There's a cell that contains a number format which is present as the file is saved; it...
I have the following VBA code, but I want to limit O22 at 0 because this is a breakeven analysis with multiple revenue-drivers. The idea is that if O22 is 0, then this is sufficient information. Those using the spreadsheet do not need to know that O22 can be "(999,999,999)" and still...
Environment: Excel 2010 under Win 7
I was trying to identify whether a Copy-Paste operation or a Cut-Paste operation has invoked Worksheet_Change event. While trying this out, I see that though Application.CutCopyMode displays the right value in a Copy-Paste operation, the value that it has...
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.