Vba to paste on a hidden sheet

Azhar0554

New Member
Joined
Oct 16, 2017
Messages
10
Is there is any possibility to paste data from one sheet to another sheet(That is hidden)

I have a vba code to copy data from one workbook on particular path and i have to paste that data into another workbooks sheet 6 but the sheet 6 is hided

Thanks in advance
Azhar
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
.
First unhide the sheet ... paste your data ... the rehide the sheet.
 
Upvote 0
You don't need to unhide the sheet
Code:
Range("A1:C5").Copy Sheets("Welcome").Range("F6")
This will copy from the active sheet to a sheet called "Welcome" which is hidden
 
Upvote 0
You don't need to unhide the sheet
Code:
Range("A1:C5").Copy Sheets("Welcome").Range("F6")
This will copy from the active sheet to a sheet called "Welcome" which is hidden

Thank you! I want to paste into an hided sheet
 
Upvote 0
If you just want values try something like this
Code:
Sheets("Sheet2").Range("A1:D5").Value = Sheets("Sheet1").Range("A1:D5").Value
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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