+ Reply to Thread
Results 1 to 2 of 2

VBA code for paste Special value

  1. #1
    Registered User
    Join Date
    06-12-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    86

    Lightbulb VBA code for paste Special value

    1. ) Please help by providing vba code for paste special Value only. e.g when i copy a cell containing formula , and paste in another cell or sheet , with help of vba code, only result of the formula should be pasted and not the formula.

    2.) Also guide how to lock or protect workheets or project containing VBA code with help of password so that no other person can access that code without my permission.


    Hope , master of VBA are around and would guide accordingly.


    Regards,

    Asharaf

  2. #2
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: VBA code for paste Special value

    Turn on the macro recorder. Copy and paste special - Values and study the resulting code.

    Turn on the macro recorder and protect / unprotect a worksheet. Then add the Password parameter to the code.

    It's all in the Excel help files. You just need to click and read.
    Like a post? Click the star below it!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1