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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
.
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,888
Messages
6,175,205
Members
452,618
Latest member
Tam84

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