+ Reply to Thread
Results 1 to 2 of 2

Multiplying each cell in a selection by a variable

  1. #1
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Multiplying each cell in a selection by a variable

    Hi all,

    very easy one incomming: I want to code the equivalent of selecting a cell and copying it, then making another selection and pressing ctrl+alt+v and chosing multiply.

    I can do it by :

    Please Login or Register  to view this content.
    But as many of you know, this takes ages compared to a simple paste/multiply.

    I'm sure there is a easy solution how to multiply a whole selection by a value.

    Thanks

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Multiplying each cell in a selection by a variable

    Bishonen,

    Use the Range.PasteSpecial method:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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