+ Reply to Thread
Page 5 of 9 FirstFirst ... 34567 ... LastLast
Results 61 to 75 of 121

Thread: I need a macro to do this ...

  1. #61
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,778

    Re: I need a macro to do this ...

    Quote Originally Posted by OP
    I need to create a VBA macro that generate an excel table (like a checklist) combining data from two different tables ...
    Quote Originally Posted by shg
    Why use VBA for this?

    On sheet Services,

    In B1 =host!A2

    In C1 and copy right, (some other simple formula)

    In B2, (some third simple formula) Copy right and down.
    Quote Originally Posted by OP
    When you say "Copy right and down" what do you mean?
    Oh, my ... .
    Last edited by shg; 08-31-2010 at 01:19 PM.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  2. #62
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Nowhere
    MS-Off Ver
    None
    Posts
    8,275

    Re: I need a macro to do this ...

    Now you know why a macro was wanted - just one button click.

  3. #63
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,647

    Re: I need a macro to do this ...

    Don't you just love the use of "simple"!!!!
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

  4. #64
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,229

    Re: I need a macro to do this ...

    *sigh*

    I missed the group hug, didn't I?
    _________________
    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!)

  5. #65
    Forum Guru Domski's Avatar
    Join Date
    12-14-2009
    MS-Off Ver
    What does it matter?
    Posts
    3,933

    Re: I need a macro to do this ...

    Quote Originally Posted by JBeaucaire View Post
    *sigh*

    I missed the group hug, didn't I?
    We'll have another one next month

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  6. #66
    Forum Guru Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,281

    Re: I need a macro to do this ...

    I need a Macro that will give me $1,000,000. Anyone?
    Please leave a message after the beep!

  7. #67
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    19,229

    Re: I need a macro to do this ...

    I could write that for you....but MAN is that gonna cost you....
    _________________
    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!)

  8. #68
    Forum Moderator daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2007
    Posts
    10,062

    Re: I need a macro to do this ...

    Who is Goto.......and why should I avoid him?
    Audere est facere

  9. #69
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,778

    Re: I need a macro to do this ...

    Kinda defeats the purpose of having a go-to guy ...
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  10. #70
    Valued Forum Contributor
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    1,963

    Re: I need a macro to do this ...

    Quote Originally Posted by daddylonglegs View Post
    Who is Goto.......and why should I avoid him?
    When computers were first invented, in 1980, there were no programming languages at all, and the only way to make computers do stuff was to drip hot solder onto the motherboards. Two Japanese guys - Goto and Gosub - recognised that this was sub-optimal and, between them, created the very first (and, to date, the best) programming language - BASIC.

    To make it run faster BASIC was an interpreted language, so you didn't have to spend ages sitting around waiting for a compiler to run. This is why, to this day, most supercomputers (such as the large hardon colluder) run BASIC as their main programming language, although some also run Pascal (developed by the French mathematician and philosopher, Blaze Pascal).

    Unfortunately Goto and Gosub had a big argument about the development of the next version of BASIC. Gosub wanted to return to the original design, whereas Goto was keen on heading off in all kinds of wild directions. The two of them vowed never to work together again. Gosub went on to develop Visual Basic, so called because you could read what you were typing in - unlike early versions of BASIC, where you just had to remember what you'd typed. Goto developed a whole new programming language, based on the core 20% of BASIC, called C, but it was very unsuccessful and, to date, only 3 people in the world have learned how to use it.

    So most programmers sided with Gosub and the mere mention of Goto's name is a huge taboo in programming circles.

    So there you go, the full story ... at least that's what Wikipedia says.

  11. #71
    Forum Guru Domski's Avatar
    Join Date
    12-14-2009
    MS-Off Ver
    What does it matter?
    Posts
    3,933

    Re: I need a macro to do this ...

    I met Goto on a night out once. He said he just had to pop off and do something but he never came back
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  12. #72
    Forum Guru
    Join Date
    10-28-2008
    Location
    Not here anymore
    MS-Off Ver
    irrelevant
    Posts
    10,152

    Re: I need a macro to do this ...

    Gee, nice to see this thread pick up again. LOL, Domski! That's a nice one.

    So is a Goto the equivalent of the hubby who nips out to "get a pack of smokes" and never returns?

    Interesting concept.

  13. #73
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Nowhere
    MS-Off Ver
    None
    Posts
    8,275

    Re: I need a macro to do this ...

    From Knuth's Structured Programming with Goto statements:
    "At the IFIP Congress in 1971 I had the pleasure of meeting Dr. Eiichi Goto of Japan, who cheerfully complained that he was always being eliminated"

  14. #74
    Forum Guru Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,281

    Re: I need a macro to do this ...

    @Andrew
    So there you go, the full story
    Very informative, hopefully Goto isn't planning something diabolical as a form of jealous revenge on Gosub.
    Please leave a message after the beep!

  15. #75
    Forum Guru
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2003
    Posts
    2,288

    Re: I need a macro to do this ...

    Very informative, hopefully Goto isn't planning something diabolical as a form of jealous revenge on Gosub.
    He was, but he forgot where he left his 'murdering stuff'
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

+ 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.2.0