+ Reply to Thread
Results 1 to 98 of 98

My 1st Anniversary

  1. #1
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    My 1st Anniversary

    Guys - On Saturday 01 Oct it will be a year to the day since I joined the forum!!!

    Wow - how time has flown, and not one of my threads in the bad thread section and not one infraction! yeyyy

    In that time i've learnt something about excel and met some great folks!

    So on sat i'll open a Black Sheep, none of that Canadian Ally Kat stuff, and say cheers to EF!!!

    Do I get something from Roy?
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    An infraction?
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: My 1st Anniversary

    I can give you some.. Anyone else?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: My 1st Anniversary

    A free membership for another year!
    _________________
    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. #5
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: My 1st Anniversary

    Unfortunately not a one-liner:

    Please Login or Register  to view this content.



  6. #6
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    Is it sad if you can read that without running the code?

  7. #7
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: My 1st Anniversary

    Time for holidays.....

  8. #8
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    lol -

    I couldn't read it without running it.............will need a couple more years here before I can do that!

    No candle?

  9. #9
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    Quote Originally Posted by snb View Post
    Time for holidays.....
    I think you might be right there!

  10. #10
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: My 1st Anniversary

    Many happy conflabulations to you!!!

    Quote Originally Posted by romperstomper View Post
    Is it sad if you can read that without running the code?
    I'm so ashamed

    Quote Originally Posted by snb View Post
    Time for holidays.....
    Mine start at 4:00pm today

    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.

  11. #11
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Quote Originally Posted by snb View Post
    Unfortunately not a one-liner:

    Please Login or Register  to view this content.
    Hi - may I ask what the j serves for in For j and then (Choose(j

    Thanks

  12. #12
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: My 1st Anniversary

    You may, but it's 1 day too late: in your first year you are allowed to put this kind of questions, after your first anniversary you can only answer those (it's a mod's switch).

  13. #13
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    It's OK - the 1 year is up tomorrow.

  14. #14
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    ok - its decided that i'm still within the asking q's threshold and the answer is ..... ? pretty please with a sprinkling of 100's and 1000's

  15. #15
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    It's a loop variable that increments from 1 to 21 with each iteration of the loop.

  16. #16
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: My 1st Anniversary

    Blake 7,

    Happy forum birthday! May it be filled with excellence!

    ... Sorry, couldn't help myself

    ~tigeravatar

  17. #17
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: My 1st Anniversary

    Congrats on your 1 year, Blake.

    Will you be changing your avatar from Liberator to Scorpio to mark this event?

  18. #18
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    No,

    Scorpio's' interior was designed by much less know Roger Cann whereas The liberator's interior was designed by Gok Wan! How to teleport n a k e d

  19. #19
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    Scorpio? I preferred Jet.

  20. #20
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    scorpio looks like "she" may have been born a "Steve" and Jet - well, i'd jump into her cockpit any day!

  21. #21
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    She did used to brighten up Saturday evenings...

  22. #22
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: My 1st Anniversary

    Quote Originally Posted by Blake 7 View Post
    The liberator's interior was designed by Gok Wan!
    Wikipedia is calling you a liar (it also spilled your pint and looked at your bird).

  23. #23
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Damn those at wiki and thier Blasphemy.........

  24. #24
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: My 1st Anniversary

    I probably won't be online much tomorrow.. so I will bid you happy anniversary now . Many more happy postings to you

    Cheers... have a Caffrey's on me
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  25. #25
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: My 1st Anniversary

    In case you want to relive your first tentative steps:

    http://www.excelforum.com/excel-gene...ting-tool.html

    Dom

  26. #26
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    who are you? micheal aspel..............

    it was polite and courteous ! I was scared and intimidated!! I tried my best ! you know, i STILL dont understand what DO did!!

    thanks for bringing that to peoples attn though Dom !! nice one, remind me to send you a handgrenade for xmas!!!!
    Last edited by Blake 7; 09-30-2011 at 09:47 AM.

  27. #27
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: My 1st Anniversary

    Very few people do

    Dom

  28. #28
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    Quote Originally Posted by Blake 7 View Post
    you know, i STILL dont understand what DO did!!
    Nobody ever does (apart from DDL and NBVC)

  29. #29
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Quote Originally Posted by romperstomper View Post
    Nobody ever does (apart from DDL and NBVC)
    You are being modest - DO has mentioned that he has run things past you before!

  30. #30
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: My 1st Anniversary

    Yeah, generally what beer to buy

    Dom

  31. #31
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: My 1st Anniversary

    Scorpio scares the be-jangles out of me. She could break me!
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  32. #32
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: My 1st Anniversary

    Quote Originally Posted by Blake 7 View Post
    You are being modest...
    I would definitely have to agree

  33. #33
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: My 1st Anniversary

    Quote Originally Posted by Dom
    In case you want to relive your first tentative steps:
    That had me thinking about my first post so I went to Advanced Search> Chemistb >Find threads started by User
    Alas it only goes back 5 years and I started in '04.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  34. #34
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: My 1st Anniversary

    Quote Originally Posted by Blake 7 View Post
    You are being modest - DO has mentioned that he has run things past you before!
    Don't expect an accurate reply to this from RS, Darren. He's far too modest to admit that he's being modest.
    Last edited by Colin Legg; 09-30-2011 at 10:35 AM.
    Hope that helps,

    Colin

    RAD Excel Blog

  35. #35
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    Quote Originally Posted by Blake 7 View Post
    You are being modest - DO has mentioned that he has run things past you before!
    Code, maybe. Any formulas beyond A1+B1 leave me puzzled.

  36. #36
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Who is Darren? - I dont want my colleagues to discover the fountain of my knowledge!

  37. #37
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: My 1st Anniversary

    Quote Originally Posted by romperstomper View Post
    Any formulas beyond A1+B1 leave me puzzled.
    Yes, the Excel work I did for the blood transfusion service went badly wrong after a mix-up over terminology.

    Those poor, poor people.

  38. #38
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: My 1st Anniversary

    @Andrew-R, that made me laugh out loud at work, haha
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  39. #39
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: My 1st Anniversary

    LoL Andrew

  40. #40
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: My 1st Anniversary

    Quote Originally Posted by Blake 7 View Post
    Hi - may I ask what the j serves for in For j and then (Choose(j

    Thanks
    First off you should make sure you never write rubbish code like that.

    Any decent coder knows you should ALWAYS declare your variables, and give them meaningful names. Choose was wasteful, a=n array of values and a loop that picks from the array is better. Furthermore, anyone who has any empathy for their user would not inflict that many horrific MsgBox statements on them, they would better give up a nice user form with an aesthetic picture background, with a label that builds up the message in a timed loop, wait for a few seconds with the full message, then fade away independently.

    Come on guys, there are standards to preserve.

  41. #41
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    I second that Bob, my mouse did get very upset that I hit him so many times in quick succession!

    Not to mention my arthritis.

  42. #42
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: My 1st Anniversary

    Quote Originally Posted by Bob Phillips View Post
    First off you should make sure you never write rubbish code like that.

    Any decent coder knows you should ALWAYS declare your variables, and give them meaningful names. Choose was wasteful, a=n array of values and a loop that picks from the array is better. Furthermore, anyone who has any empathy for their user would not inflict that many horrific MsgBox statements on them, they would better give up a nice user form with an aesthetic picture background, with a label that builds up the message in a timed loop, wait for a few seconds with the full message, then fade away independently.

    Come on guys, there are standards to preserve.
    I... Uh... Took this challenge as practice and things got out of hand. For some insane reason I set myself the challenge of not uploading a workbook, instead have all of your requirements in a single sub. The problem, as I quickly found, was that you said "user form" and "fade away independantly". As you see from the code below, these were tall orders. If anyone sees a better way to do this, I would love to see it.

    Please Login or Register  to view this content.

    P.S. You need to have the reference "Microsoft Visual Basic for Applications Extensibility X.X" activated in the VBE.
    Last edited by Whizbang; 10-03-2011 at 04:47 PM.

  43. #43
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Hiya - im getting a "user defined type not defined error" on this line

    I was so excited!!

    lblNewLabel As MSForms.Label

  44. #44
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: My 1st Anniversary

    You need to activate the "Microsoft Visual Basic for Applications Extensibility X.X" reference.

    In the VBE, go to "Tools" -> "References" and check that reference (It is all alphabetical, so you'll need to scroll pretty far down), then click "Ok".

    ***Edit***
    Oops. And the "Microsof Forms 2.0 Object Library" reference.
    Last edited by Whizbang; 10-03-2011 at 03:41 PM.

  45. #45
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    I could find this

    Microsoft Visual Basic For Applications Extensibility 5.3.

    but not xx

  46. #46
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: My 1st Anniversary

    That is what you want. The X.X was just because the number may be different depending on your version of Excel.

  47. #47
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Ahhhhhhhhhh doh --- silly me - i'll get this thread in the bad threads thread at this rate. I'll have another crack and get back to you

  48. #48
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    WOW Dude - YOU ARE A WHIZZBANG! amazing!!!

  49. #49
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: My 1st Anniversary

    Come on guys, there are standards to preserve.
    Like being polite and congratulate someone in a thread that was started because of a member's 'anniversary'.

  50. #50
    Forum Contributor
    Join Date
    08-01-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    182

    Re: My 1st Anniversary

    Quote Originally Posted by Whizbang View Post
    You need to activate the "Microsoft Visual Basic for Applications Extensibility X.X" reference.

    In the VBE, go to "Tools" -> "References" and check that reference (It is all alphabetical, so you'll need to scroll pretty far down), then click "Ok".

    ***Edit***
    Oops. And the "Microsof Forms 2.0 Object Library" reference.
    Whizbang...

    I activated the Applications Extensibility.... but I am still getting the error:
    lblNewLabel As MSForms.Label

    I see that I have Microsoft Forms 12.0 object library activated. But no 2.0... Any help...

  51. #51
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    I've never heard of an msforms 12 library - are you sure about that? If you insert a userform, you should get the forms2 library referenced.

  52. #52
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    Where's the fading away? All I can see is an unload? Also, Bob didn't actually say you had to create the form in code.

  53. #53
    Forum Contributor
    Join Date
    08-01-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    182

    Re: My 1st Anniversary

    Hi RS,

    Please see attached. My VB knowledge is nill so I just tried to follow the instructions.

    Cheers-
    Inayat
    Attached Images Attached Images

  54. #54
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    hi inyat - in the developer tab click macro security > in macro settings make sure that "trust access to the VBA project object model is checked

  55. #55
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    That's the Office 12 library, not the Microsoft Forms 2 library, which is the one you need.

  56. #56
    Forum Contributor
    Join Date
    08-01-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    182

    Re: My 1st Anniversary

    @Blake... I checked that... Still it is giving the same error

    @RS... I can not see the Microsoft Forms 2 Library in Reference... Do i need to look anywhere else... As I said, I have zero knowledge in VBA...

  57. #57
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    As I said, insert a userform and the reference will be added for you. (You can then delete the form)

  58. #58
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Here are instructions in the case of missing ms forms 2.0 object library

    http://support.microsoft.com/kb/208218

  59. #59
    Forum Contributor
    Join Date
    08-01-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    182

    Re: My 1st Anniversary

    Thanks RS... Works perfectly now...

    Thanks Blake....

  60. #60
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: My 1st Anniversary

    Quote Originally Posted by romperstomper View Post
    Where's the fading away? All I can see is an unload? Also, Bob didn't actually say you had to create the form in code.
    Why thank you MR rs. You just can't get the staff nowadays!

  61. #61
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    Hopefully this is more to your liking, Sir (shamelessly borrowed from VBAX):
    Please Login or Register  to view this content.
    No references required but you do need trusted access to the VBProject.
    Last edited by romperstomper; 10-04-2011 at 03:39 AM.

  62. #62
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: My 1st Anniversary

    What's the trick for getting this to work, RS?

    See error message and trust center settings in attached screenshot.
    Attached Images Attached Images

  63. #63
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    The code needs to be in a normal module.

  64. #64
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: My 1st Anniversary

    or
    Please Login or Register  to view this content.
    In macro, sheet or workbookmodule
    Last edited by snb; 10-04-2011 at 11:14 AM.

  65. #65
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: My 1st Anniversary

    The code needs to be in a normal module.
    Yup!

    F5 -- Wowwww!!!

  66. #66
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: My 1st Anniversary

    Well, sure... If you use API's...

    But seriously, these are great. What fun!

  67. #67
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: My 1st Anniversary

    That's very cool rs, I'm going to definitely incorporate that into future projects at work!
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  68. #68
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: My 1st Anniversary

    Please Login or Register  to view this content.
    Seriously! That's all I needed to get rid of the reference?

    Internet, you have failed me! If not for the fact that you then provided the solution, I would disown you! Get out! I don't even want to look at you right now!

    ...

    I didn't mean that, Internet. I got carried away. I'm sorry. You know I love you.

  69. #69
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    Yep.
    People seem to get a little carried away with the 'need' for the Extensibility library, I find. It's just early vs. late binding after all.

  70. #70
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: My 1st Anniversary

    RS,
    I have the 2.0 Object Library and the 5.3 Extensibility checked but when I run the code (in a normal module), I get the attached error. Debugging goes to that same line
    Please Login or Register  to view this content.
    Attached Images Attached Images

  71. #71
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    You need to trust access to the VBProject in your macro security settings.

  72. #72
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: My 1st Anniversary

    I had to search a little bit but I found it. Thanks!

  73. #73
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: My 1st Anniversary

    All this because I took exception to some code. Must do it more often.

  74. #74
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: My 1st Anniversary

    More like, all this because someone decided to announce his 1st anniversary on the forum!

  75. #75
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    I must do it more often!

  76. #76
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: My 1st Anniversary

    Do you think the community would be open to having challenges? Meaning on a regular schedule (say, weekly) a programming challenge would be posted. People could then post their attempts at a solution. It would be up to the community to decide if they want to vote on the responses for a "winner" or if we'd just want to do it for the mental challenge and learning opportunity. Maybe each week the "winner" of the previous week could post a new challenge. Or there could me categories of winners (e.g. "Adheres to Industry Standards", "Fewest lines of code", "Overall", "Most Ingenious", etc.)

  77. #77
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Great idea whizz - but instead of a programming challenge, how about I post my here an now REAL LIFE excel challenge and people post their ideas! Like Chandoos site! that way, everyones a winner!! yeyyyyy!!!!

  78. #78
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Hey Boys - and Teylyn,,,,, I thought Bob's jibe at snb's sloppy code, snbs subsequent retort, the ensuing battle of the s e x y code which culminated in RS's masterpiece was good enough, but this thread is getting more interesting by the minute, I have just recieved positive feedback (for this thread) from someone (no names mentioned) who hasn't even contributed (to this thread)/ Wowser, can we all now crack on with whizz'z idea of sorting out my dashboard! this weeks programming challenge!!!

  79. #79
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: My 1st Anniversary

    Answering OPs questions can be difficult enough at times, never mind challenges from the guru's of this site. Scary proposition !

  80. #80
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: My 1st Anniversary

    A small revision, give it the personal touch

    Please Login or Register  to view this content.

  81. #81
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Hey Bob -This probably says Happy birthday.. but where in your marvellous code is owner!?

    72, 97, 112, 112, 121, 32, 66, 105, 114, 116, 104, 100, 97, 121, 32

  82. #82
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: My 1st Anniversary

    In

    Please Login or Register  to view this content.
    and then

    Please Login or Register  to view this content.

  83. #83
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Thanks mate - now i can send it to my son and change the name - he'd love it.

  84. #84
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    The code picks up the Windows username, so why not leave it?

    Small tweak to add the name one letter at a time:
    Please Login or Register  to view this content.

  85. #85
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Hey RS - this does not run on my 64 bit system!! please, no more sloppyness!

  86. #86
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    That'll teach you to ignore Microsoft recommendations then.

  87. #87
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: My 1st Anniversary

    Quote Originally Posted by Bob Phillips View Post
    All this because I took exception to some code. Must do it more often.
    Seeing the sparks, heck, yes!!

  88. #88
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Ok Capt Mannering - Don't panic, i've just opened up the beasts little brother a Precision 390 32 bit and it ran like a dream!

    My hero!

  89. #89
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    I don't have 64bit here to test, but I think this adjusts correctly:
    Please Login or Register  to view this content.

  90. #90
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: My 1st Anniversary

    Quote Originally Posted by romperstomper View Post
    Small tweak to add the name one letter at a time:
    I deliberately threw up the name all in one, seemed a good touch to me.

  91. #91
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: My 1st Anniversary

    Quote Originally Posted by Blake 7 View Post
    Hey RS - this does not run on my 64 bit system!! please, no more sloppyness!
    You have 64-bit Office? Are you a masochist?

  92. #92
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: My 1st Anniversary

    Quote Originally Posted by Blake 7 View Post
    Hey RS - this does not run on my 64 bit system!! please, no more sloppyness!
    BTW, can we have less sloppiness when spelling sloppiness!

  93. #93
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: My 1st Anniversary

    Bob, that was my line!

  94. #94
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    Quote Originally Posted by Bob Phillips View Post
    I deliberately threw up the name all in one, seemed a good touch to me.
    Seemed a bit abrupt to me, so now we have options.

  95. #95
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Quote Originally Posted by Bob Phillips View Post
    BTW, can we have less sloppiness when spelling sloppiness!
    oh dear - typical, me and my fudge fingers!

  96. #96
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: My 1st Anniversary

    Quote Originally Posted by Bob Phillips View Post
    You have 64-bit Office? Are you a masochist?
    why would you say that Bob, what's wrong with 64 bit office? I have found it much quicker.

    to answer your question, i'm probably more of a deviant than a masochist!
    Last edited by Blake 7; 10-05-2011 at 04:43 AM.

  97. #97
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: My 1st Anniversary

    See this article.
    Small excerpt:
    "The 32-bit version of Office 2010 is the recommended option for most people, because it prevents potential compatibility issues with other 32-bit applications, specifically third-party add-ins that are available only for 32-bit operating systems."

  98. #98
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: My 1st Anniversary

    Quote Originally Posted by Blake 7 View Post
    why would you say that Bob, what's wrong with 64 bit office? I have found it much quicker.
    Even MS admit that 64-bit Excel is not the best way to go, yet unless you have a lot of data and using something like PowerPivot, needing to utilise all that memory.

    Quote Originally Posted by Blake 7 View Post
    to answer your question, i'm probably more of a deviant than a masochist!
    Then I think you should leave immediately, we don't have no truck with them thar types.

+ 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