LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Copy and Paste hidden cells?

How can I Copy and Paste hidden cells? I have had problems with the following code not pasting
hidden cells:

With Worksheets(intSheet)
' copy the template field
.Range(strCopyRange).Copy
' paste it on all sheets
.Paste Destination:=Worksheets(intSheet).Cells(lastRow + intField, "A")
.Cells(lastRow + intField, 1).Value = Me.Controls("Textbox" & intField).Text
End With

Should I use a ".Range(strCopyRange).Hidden = False before the copy, and return it to Hidden after
copying it?

Thanks,

Richard
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling copy/paste hidden cells Shawn Excel Worksheet Functions 2 May 15th 09 01:15 PM
Copy and Paste with hidden columns remaining hidden Pendelfin Excel Discussion (Misc queries) 2 February 26th 09 11:35 AM
copy and paste range of cells excluding hidden data in excel Steve22055 Excel Discussion (Misc queries) 3 October 23rd 08 01:57 PM
copy/paste with hidden rows don't want hidden parts to paste robynne Excel Discussion (Misc queries) 1 September 21st 07 09:23 PM
Excel: copy and paste only shown not hidden cells into new sheet MU Excel Discussion (Misc queries) 1 February 6th 06 10:31 PM


All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"