PC Review


Reply
Thread Tools Rate Thread

Copy and Paste Values not picking up on cells with formulas

 
 
=?Utf-8?B?QkVFSkFZ?=
Guest
Posts: n/a
 
      12th Oct 2006
Greetings:
I thought I had the following code working.
However, it is not copying and placing values in those cells that have
an actual formula in them (some also refer to a look-up chart).
Cells with no formulas are working properly.
The following code is run before any worksheet, row and column deletes are
done.
When I try a 'manual' copy/paste special, it works fine.
Help please.

Sub MakeText()
' Convert all Used Cells, on each Worksheet, to Text
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.UsedRange.Validation.Delete
ws.UsedRange.Copy
ws.UsedRange.PasteSpecial xlValues
Next
End Sub

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy/Paste formulas in merged cells Excel User 123456 Microsoft Excel Misc 2 18th Dec 2008 07:58 PM
Copy and paste values, formatting and formulas Joe M. Microsoft Excel Misc 2 29th Feb 2008 09:38 PM
copy & paste formulas while referring to same cells =?Utf-8?B?U2Nob29sc29u?= Microsoft Excel Misc 1 22nd Feb 2006 03:58 PM
Copy & Paste Visible Cells with Formulas Ricky Microsoft Excel Worksheet Functions 5 27th Jan 2005 05:37 PM
Copy/paste cells w/formulas noone Microsoft Excel Misc 3 27th Jul 2003 03:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:09 AM.