copy/paste

  1. Johnny Thunder

    VBA Question - Deselect after Paste - Excel 2010

    Hi guys, Stuck on a problem with my code, I am creating a new sheet and then doing a copy paste function to get the data onto my newly created workbook/Sheet but for some reasons I can't deselect the pasted cells. Maybe someone can see a problem or a solution for my issue. My code: With...
  2. K

    Copying data in columns

    Hello. I am looking for VBA code to copy data from a column in Excel to another column (to the right) on the same worksheet. Trick is if the destination column has data in it, I need to go to the next column to the right that does NOT have data. In my example, I have data in range C4:C25. I...
  3. I

    Copy/Paste Formula -> Value Loop

    Hello, First time poster, long time listener. I'm am looking to do the below: 1) Formulas located in A2:S43 2) Copy/Paste those formulas in row 46 (leaving row 44 & 45 blank) 3) Copy A46:S87 (just pasted box), and paste the values and formatting into itself (A46:S87) 4) Loop 1-3 times the...
  4. M

    Copy/Paste in value within 'With/Next'

    Hello, I am building a macro, I am in a section with a With / Next Loop. I need to copy/paste in every loop the content of cell B3 because there is currently a vlookup formula where I bring data to excel. Thus, I need to copy/paste in value that cell. Could you please help me with the code? I...
  5. D

    Run-time error '9': Subscript out of range on Copy/Paste VBA?

    Hi Folks, I have this copy/paste VBA which copies a range from one workbook into another workbook. Public Sub CopyPaste() Workbooks("GenericGRNReport(Excel2010).xlsm").Sheets("GRN_Data").Range("$E$3:$F$5000").Copy...
  6. D

    how did he do this

    Hi all, The following formula is from one of the bosses spreadsheets. He is a heavy spreadsheet user but his formula skills stop around =a1+b1. He is a huge fan of copy/paste. So needless to say there is a lot of 'fixing' to be done, by yours truly. I am usually able to figure out what he did...
  7. W

    Excel 2016 retaining "column to column" values during copy/paste

    First time posting here.... would like to take this opportunity to say that you guys rock and visiting this site has provided more excel answers than I care to count right now. Keep up the good work! So here's my scenario. I have a table.. and I have another table. We'll call them "Source"...
  8. J

    Copy/Paste values with a filter on

    Is there a simple way to copy/paste values when you have a filter on? I often have formulas in spreadsheets I want to work with and want to slowly get rid of them as I'm working through a column. I will filter on the results on want and want a way to remove the formulas just from the visible...
  9. D

    Copy/Paste Macro Not Working Correctly

    Hello, I am trying to record a macro that copies an entire worksheet to the next worksheet (tab). The original worksheet has 4 macro buttons currently (one of which is the macro to do this copy/paste). When I run the macro below, it copies and pastes to the next tab but pastes as a picture...
  10. R

    Deny Cut/Paste but Allow Copy/Paste on Workbook

    Is there a way to deny a cut/paste to users while allowing Copy/Paste, and clear contents for the Workbook?
  11. O

    Copy/paste Row 1 after every merged cell

    Hey Guys! Im looking for a VBA code that will copy row 1 from column A to M , and will paste row 1, a line below every time it finds a merged cell. And I want this to loop until the last Merged cell. Please refer to my code below and see if it makes any sense to you. Can someone please help...
  12. W

    Speed up Copy/Paste with variable range size

    I need to speed up my code. This code is looped through hundreds of times and is super slow. The problem is that the range of cells I need to copy and paste changes. Here is my original code: Worksheets(Sht2).Activate Worksheets(Sht2).Range(Cells(13, 1), Cells(LastPt, 15)).Copy...
  13. P

    macro to copy/paste from a password protected wb?

    Is there a way to run a marco that will copy select ws and paste them into a new wb even though it is password protect? Thanks
  14. M

    Copy/Paste a column into a single cell in a different sheet, then Copy/Paste the results into another sheet

    Hello All, I am looking for help to fix a macro, or build a new one. Goal: To create a looping macro which will copy/paste a column of store numbers into into a single cell in another sheet (on a 1 by 1 basis) and then paste 2 sets of returned results into the original sheet. The two sheets...
  15. S

    Excel VBA Command - remove blanks after being copy/paste or copy/paste content from Textbox

    Hi Guys, I create a template with some text on it that I can copy/paste to other apps with a copy button, really basic, selecting, copy to copyboard and pasting it where you want by doing a Ctrl+V but it's creating a lot of space or blanks between the text. I still want to be able to add some...
  16. M

    Copy/Paste user-defined formula (in an Add-In) to new workbook results in #NAME

    I've recently been trying to consolidate VBA by leveraging Add-Ins. I THINK that might be at the root of this issue, but am obviously not positive (or I wouldn't be posting this). I have a simple User-Defined function that just returns the NAME of the office user ("Mark Stepan") by retrieving...
  17. J

    Merging List From Multiple Sheets

    I know this issue has been discussed, but for the life of me I cant get it to work fully. Hopefully, someone can point out my mistake. Okay, I have a workbook with two sheets for two of our locations (Cincinnati and Chicago). The sheet structures are the exact same and are formatted the exacts...
  18. M

    Copy two different tables into lastrow in one table in a new sheet

    Hei, I´ve tweaked a code to copy/paste two different dynamic tables into one dynamic table in another sheet. However, it seems that the latter part of the code (copying the last table) overwrites the first one. I´ve used lastrow to determine the last cell with data, but it failes. Sub...
  19. C

    Excel Macro Help

    Hello, I pulled some raw data of 15000 rows, and trying to fill in some of the blanks to be able to convert into a pivot table. The challenge is: 1) Each date has several rows corresponding to it: <tbody> December 5 Cat 15 345 Dog 36 564 Rat 56 654 December 6 Frog 22...
  20. N

    Copy/Paste with Fixed Increment to Cell Reference

    Hi, Let's assume some data in A1 through A10. A1 through A5 contains one group of data and A6 through A10 another. I have referenced A1 in B1. When I copy/paste B1 to B2, I would like the cell reference to increment by 5 (to refer A6) instead of just 1. What would be the easiest way to achieve...

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