+ Reply to Thread
Results 1 to 3 of 3

VBA: copying column with difference for 1st and last cell (Excel)

  1. #1
    Registered User
    Join Date
    02-13-2012
    Location
    NYC
    MS-Off Ver
    Excel 2003
    Posts
    39

    VBA: copying column with difference for 1st and last cell (Excel)

    Hello,
    I'm trying to find a solution in VBA for copying a column (in Excel).
    The columns have both titles. I'm looking to copy column A to column B by multiplying with number n. But not for the first number (in row 2) and the last number. How can I identify those 2 cells so that I can copy them differently while multiplying the numbers in between with n?
    Thanks for your advice!

  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: VBA: copying column with difference for 1st and last cell (Excel)

    zeno1,

    Something like this should work for you:
    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

  3. #3
    Registered User
    Join Date
    02-13-2012
    Location
    NYC
    MS-Off Ver
    Excel 2003
    Posts
    39

    Re: VBA: copying column with difference for 1st and last cell (Excel)

    Hello tigeravatar,

    Thank you for your response! It does the function I'm looking for.
    Last edited by zeno1; 06-19-2012 at 07:51 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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