+ Reply to Thread
Results 1 to 4 of 4

Copy paste Macro, Finding a specific value.

  1. #1
    Registered User
    Join Date
    07-16-2008
    Location
    SF
    Posts
    61

    Copy paste Macro, Finding a specific value.

    This Macro is supposed to get certain totals for me from diffrent pages. Instead of selecting an entire row I want to select specific cells, so when it finds the word total on the sheet, whose location can change often it will return the value two cells away. How can I change this code below ?


    Please Login or Register  to view this content.
    Last edited by itsnick; 10-29-2009 at 09:08 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy paste Macro, Finding a specific value.

    Try this:
    Please Login or Register  to view this content.
    This finds the word TOTAL and copied the cell two columns to the right to the other sheet.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-16-2008
    Location
    SF
    Posts
    61

    Re: Copy paste Macro, Finding a specific value.

    This works thank you JBeaucaire.

  4. #4
    Registered User
    Join Date
    07-16-2008
    Location
    SF
    Posts
    61

    Re: Copy paste Macro, Finding a specific value.

    I have one more question before I mark this solved. If I wanted to copy two or three cells instead of one. What changes would have to be made ?

+ 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