VBA Copy Paste from a Table Question...

Pinaceous

Well-known Member
Joined
Jun 11, 2014
Messages
1,124
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I'm using a simple copy paste Macro22(), below for reference, from a Table that is conditionally formatted of Worksheet(2) onto a nondescript Worksheet(9).

Code:
Sub Macro22()
'
' Macro22 Macro
'
   Application.ScreenUpdating = False
   
  
 
    Worksheets(2).Range("B11:U180").Copy
    Worksheets(9).Range("B11").PasteSpecial xlPasteValues
    
 

    Range("B11").Select
    
    
    Application.CutCopyMode = False 'Clear Clipboard
    
        
End Sub


To make a long story short, when I analyze the data, which is posted onto Worksheet(9) with the mouse's right-click 'Quick Analysis' it highlights the all of the blank cells under my pasted data for specifically Column C.

This is not what I'd expect in using:
Code:
 Worksheets(9).Range("B11").PasteSpecial xlPasteValues
:as my paste code.

So, my question is, is there anyway to further strip the supposed values of
that is transferring from the Table to the new worksheet to
??

Does anyone have any ideas??

Thanks,
Pinaceous
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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