+ Reply to Thread
Results 1 to 4 of 4

Macro

Hybrid View

  1. #1
    Registered User
    Join Date
    12-01-2006
    Posts
    49

    Thumbs up Macro

    Hi guys I need some help with macros. In the attached file, the sheet named Front Page is the report I would like.

    The input page is where the date would be pasted into. I have created sample sheets named Sample 1 and Sample 2 which have the formate of the data that will be uploaded.

    I would be copying and pasting the data into the input page and would like the macro to fine the items from the Front Page in the Input data and paste as values only in the relevant columns.

    Example:

    If I was using Sample 1 data in the Input page, I would be finding Total Net interest Income and copying and pasting the values in cells A47:C47 into cells B8:D8 in the Front Page sheet and values of cells F47:H47 into cells H8:J8 in the Front Page worksheet.

    I tried creating a macro but the only problem is that if the number of rows is different (like the 2 samples), the macros won’t work.

    I would really appreciate if someone could help me out.

    Thanks heaps.
    Attached Files Attached Files

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    Why don't you post your macro ... for a quick fix ...?
    HTH
    Carim


    Top Excel Links

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Please use Titles that reflect what sort of assistance you require. Macro is not sufficient

    See

    http://www.excelforum.com/showthread.php?t=591596
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  4. #4
    Registered User
    Join Date
    12-01-2006
    Posts
    49
    Quote Originally Posted by Carim
    Hi,

    Why don't you post your macro ... for a quick fix ...?

    Hi Carim,

    I have created a new post with the file and macro in it. The post name is: macro to work for variable number of rows

    Your help will be highly appreciated.

    Cheers!

+ 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