Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / December 2005

Tip: Looking for answers? Try searching our database.

Pasting Values

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sammy2x - 30 Dec 2005 12:02 GMT
Hi,

I have developed a quoting tool which creates an output sheet detailing
all the info, What I would like to be able to do is take a copy of this
and paste the values (and Format to a new workbook). I'm currently
doing this manually and I unsure how to automate it!

I have never used VB which I'm guessing is the only way of doing it, so
please be gentle!!

Thanks,

Sam.

Signature

sammy2x

Dave Peterson - 30 Dec 2005 14:44 GMT
Try recording a macro when you select that output sheet.
Then edit|move or copy sheet (select copy and copy to a new workbook)
Then select all the cells on that new sheet.
edit|copy
Edit|paste special|Values

I got something that looked like:

Option Explicit
Sub Macro1()
   Sheets("Sheet2").Select
   Sheets("Sheet2").Copy
   Cells.Select
   Selection.Copy
   Selection.PasteSpecial Paste:=xlPasteValues, _
       Operation:=xlNone, SkipBlanks:=False, Transpose:=False
End Sub

> Hi,
>
[quoted text clipped - 15 lines]
> sammy2x's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=29674
> View this thread: http://www.excelforum.com/showthread.php?threadid=496906

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.