Closed Thread
Results 1 to 20 of 20

Macro Nightmare (for me anyway!!!)

  1. #1
    Registered User
    Join Date
    11-14-2007
    Posts
    2

    Macro Nightmare (for me anyway!!!)

    I have a worksheet that I've been struggling with the past couple of days...

    As an example, I've detailed the following:
    Forename, Pet Type, Pet1, Pet2, Pet3, etc
    John, Dog, , , ,
    John, Cat, , , ,
    Karen, Rabbit, , , ,
    Bob, Horse, , , ,
    Bob, Pony, , , ,
    Mark, Dog, , , ,
    Mark, Dog, , , ,
    Mark, Bird, , , ,

    What I want to be able to do is run down column A to find the forename and then populate the "Pet1", "Pet2", "Pet3" (etc - max of 10) with the relevant values from Column B and then delete the duplicate row (after the "original") to show a single row for each forename.

    Example Wanted Result:
    Forename, Pet Type, Pet1, Pet2, Pet3, etc
    John, Dog, Cat, , ,
    Karen, Rabbit, , , ,
    Bob, Horse, Pony, , ,
    Mark, Dog, Dog, Bird, ,

    Please, can anyone help?

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    antoka05

    Please do not answer questions until the OP has dealt with the reason that they have received the Infraction warning
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    xld
    Please do not answer questions until the OP has dealt with the reason that they have received the Infraction warning

  4. #4
    Forum Contributor
    Join Date
    05-21-2004
    Location
    UK
    Posts
    136
    Time to give me an infraction mate, this is as silly as OzGrid got, not allowing people to help when a guy asks a question.

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by xld View Post
    Time to give me an infraction mate, this is as silly as OzGrid got, not allowing people to help when a guy asks a question.
    We are trying to keep the Forum orderly, you are welcome to stick to ozgrid but I suspect you would have been banned there. We have no intention of getting as heavy handed as DH but we do expect members to follow our rules.

  6. #6
    Forum Contributor
    Join Date
    05-21-2004
    Location
    UK
    Posts
    136
    No Roy I haven't been banned there, unlike you. But I do think the propensity to smack our bottoms and ban us is petty and childish. I understand you have to have rules, but it can be taken too far. You experienced that at Ozgrid, and this forum seems overly heavy-handed.

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I was banned for disagreeing with Dave about his heavy handed treatment of members. I didn't say you were banned, I said I think DH would have banned you for your actions here if it was Oz. The rules are there and have been put together after much discussion between the Moderators.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    I understand you have to have rules, but it can be taken too far.
    We actively discuss among ourselves what consititutes reasonable enforcement, and think we have it about right. The wonderful thing is that you are free to choose a forum that suits your own interpretation, from monarchy to anarchy.
    Entia non sunt multiplicanda sine necessitate

  9. #9
    Forum Contributor
    Join Date
    05-21-2004
    Location
    UK
    Posts
    136
    I know exactly why you were banned Roy, and it was ridiculous (what sort of forum bans their own administrators?). And you are probably right, Dave would ban me if OzGrid was actually active enough for me to spend any time there, he has threatened it a couple of times but never actually done it, but therein lies the rub. OzGrid is dying because of that attitude. I understand people should not be rude, be offensive, and might even concede that there are some things off-topic (MIGHT!), but what did this guy get one for, a poor subject? Who cares about the subject in reality, very few people search the archive, they repeat the question - that's a fact of life. That is how Dave started.

  10. #10
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    It boils down to the fact that the admin here want to keep a tidy but friendly approach. As a result we need rules & we expect everyone to follow them. As shg says it's your choice.

  11. #11
    Forum Contributor
    Join Date
    05-21-2004
    Location
    UK
    Posts
    136
    But you should all remember that you are supposed to be doing it for the benefit of the community, not so that you can all feel good and powerful. I hope you guys all treat your kids a bit more like grown-ups.

    I think I have made my views clear so I will sign off, pity the poor OP lost his answer for what was a reasonable request.

  12. #12
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Quote Originally Posted by xld View Post
    I think I have made my views clear so I will sign off, pity the poor OP lost his answer for what was a reasonable request.
    xld,

    FYI

    The answer has being soft deleted and will be restored once jsb1976 contacts a mod.

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  13. #13
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by VBA Noob View Post
    xld,

    FYI

    The answer has being soft deleted and will be restored once jsb1976 contacts a mod.

    VBA Noob
    Which he obviously cannot be bothered to do.

  14. #14
    Forum Contributor
    Join Date
    11-09-2007
    Location
    USA
    MS-Off Ver
    2003
    Posts
    141
    I would like to suggest something. Here we have a poor thread title, an abandoned thread (sort of), meaning if they really wanted the help they would keep a constant eye on it, and a bit of opinions on the handling of it. Why don't the forum have an area where they move such posts and that only the mods and op can access it. Once the infraction has been dealt with, the mods could restore it back with changes included. Just a suggestion...

    I am glad this forum did not follow the ozgrid road. I would have to believe his forum is going to slowly decline and this one pick up, thus the need for fair but stern rules.

  15. #15
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Hi George

    I don't think we can set up such a Forum, it would not be possible to limit access to the OP & mods only.

    The Infractions system is just a way to help us maintain the Forum and make it an easy and useful Excel resource. We do not want to get heavy handed

  16. #16
    Forum Contributor
    Join Date
    11-09-2007
    Location
    USA
    MS-Off Ver
    2003
    Posts
    141
    I kinda figured that. Thanks for the reply.

  17. #17
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,177
    :popcorn:
    Whens the next episode?
    Regards

    Rick
    Win10, Office 365

  18. #18
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Moved to Comments Forum, the original question is no longer relevant as the OP has not bothered to return & amend the question

  19. #19
    Forum Contributor Stuie's Avatar
    Join Date
    09-17-2006
    Location
    Suffolk, UK
    MS-Off Ver
    Excel 2003/2007
    Posts
    432
    Lol,

    i think we have all learned a valuable lesson about infractions today
    There are only 10 types of people in the world:
    Those who understand binary, and those who don't!

  20. #20
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161

    Heavy Handed?

    I have just been reading through this thread, while some people may find it offensive to see a red post and know that the OP hasn't bothered to read the forum rules (Rule 1 with regards to informative titles), but the truth is that it is an infraction, a warning, it's nothing more than that, its the red post colour that makes it seem all that much more worse, using this method allows the user to make changes and still have his post active and then consequently answered, prior to us using this system the op's post would be locked....no chance of it ever being answered.

    I agree there is a flaw with the system which i'm working on and that is when an op has made the changes the red backround is removed....but its a little while coming.

    It really isn't meant to be offensive in any way, before devising and generally agreeing on rules and how we deal with them the forum was unkempt, unruly and no where near as popular as it is now, since making these changes (April) we have picked up over 12,000 members.

    We would ask that you are all patient with us while we work out the bugs and useages of our system, it's concept is sound, its useage is sound but there are some finer points that need a little work to make it just right.

    The real point is, pay a little attention to how and what you post, your question will be answered quickly and everyone will be happy.
    Not all forums are the same - seek and you shall find

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. macro to create a macro?
    By jojotherider in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2008, 08:34 PM
  2. Macro for copy/insert into expanding table
    By Soslowgt in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-06-2008, 07:24 PM
  3. How to splitt texts into words? (collecting word and compounds)
    By wali in forum Excel Programming / VBA / Macros
    Replies: 53
    Last Post: 02-03-2008, 04:06 AM
  4. Conditional formatting macro (highlight macro)
    By c991257 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2007, 02:46 PM
  5. Need macro to move down & select next visible row
    By Fartnuckles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2006, 10:02 PM

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