+ Reply to Thread
Results 1 to 4 of 4

Macro returns expected result

  1. #1
    Registered User
    Join Date
    02-01-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    97

    Macro returns expected result

    Hi Everyone,

    I hope you are all well.

    I have a formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I know that this works when I type it into the cell.

    The problem is, I want a macro to type it in for me so I can hit a button, it types the formula in and copies it down the list. Here is my macro:-
    Please Login or Register  to view this content.
    The macro, however, does not work. When I look at what has been entered in is this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    (Note the 'A2' rather than A2 and the BB) rather than B:B)

    Can anyone offer a solution or explain where Im going wrong?

    Thanks for your help
    Alex
    Last edited by cossie2k; 11-09-2012 at 08:01 AM. Reason: A telling off from moderator

  2. #2
    Registered User
    Join Date
    02-01-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Not sure what Im doing wrong

    PS, dont know where the purple face came from, it is supposed to be a :

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Macro returns expected result

    looks like the title has been edited buy i think it should say unexpected!
    Please Login or Register  to view this content.
    works for me
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    02-01-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Macro returns expected result

    Oh yeah! Oops! Thank god its Friday!

    Ill try again and see what I get.

    Thanks for the feedback
    Alex

+ 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