+ Reply to Thread
Results 1 to 4 of 4

Requesting a Macro to be written

  1. #1
    Registered User
    Join Date
    01-18-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question Requesting a Macro to be written

    I have formulas in cells B2:G2. I have a MATCH function in cell L3 giving the number of rows containing data in another worksheet within the same workbook.

    Either using L3 or having the MATCH function in a macro (this I prefer) I need help with a loop macro where the loop continues to run until reached the row described in the MATCH function. The number of rows containing data will vary and so a fixed number is not viable, I need the macro to identify when the loop ends independent from other runs.

    Can any body help.

    Robert
    Last edited by Robert1955; 05-14-2012 at 04:02 AM.

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

    Re: Excel VBA Macro Formulae

    Hi,

    please upload a workbook with your data structure. It is not clear from your descriptions what you want to achieve. For example, the Match function in L3, what exactly is it?

  3. #3
    Registered User
    Join Date
    01-18-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Excel VBA Macro Formulae

    This is the formulae in L3 =MATCH(9.999999E+306,'Data Entry'!B:B). Column B:B in the worksheet "Data Entry" has data in 1334 rows. L3 in the worksheet "DATA CONVERTER" both in the same workbook have the result of 1334. I have formulaes in the cells B2:G2 in the worksheet "DATA CONVERTER". I want the formulaes in the 2nd row (B2:G2) to be copied and pasted to the last row, in this example row 1334. This row is not fixed as the data in Column B:B in the worksheet "Data Entry" is not always the same. I do not know how to upload a document on this site as this is only my 2nd visit.

    Robert

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

    Re: Excel VBA Macro Formulae

    After you have changed your thread title as requested by the moderator, please upload a workbook that shows your data structure. It will be impossible to guess what data you have in your spreadsheet and how to amend your formula to work.

+ 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