+ Reply to Thread
Results 1 to 6 of 6

How do I ammend this code to get the userform to add a comment?

  1. #1
    Registered User
    Join Date
    02-14-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2010
    Posts
    97

    How do I ammend this code to get the userform to add a comment?

    Hi Folks,

    I've decided to add a comment section to my userform (well tried anyway) but I cant get it to work properly. I would like the comment to appear in the description field when adding a new part.

    If anyone can alter the code below to suit, I'd be really greatful


    Please Login or Register  to view this content.
    Kind Regards
    Carl

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: How do I ammend this code to get the userform to add a comment?

    Hello Carl,

    Your code overwrites the Description text in Cells(iRow, 2)
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    02-14-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: How do I ammend this code to get the userform to add a comment?

    Hi Leith,

    Thanks for your reply.

    How would I get the comment to transfer along with the Description text when a new part is added?
    I'm not very fluent with VBA yet, it's still very early days for me!

    Kind Regards
    Carl

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: How do I ammend this code to get the userform to add a comment?

    Hello Carl,

    I think I know what you want to do. In the interest of time, can you upload the workbook for me?

    To Post Your Workbook
    1. At the bottom right of the Reply window, Click the button Go Advanced
    2. At the top of the Your Message Window, in the first row of icons, Click the Paperclip icon.
    3. Click the Add Files button at the top right in the dialog box. This displays the File Manager dialog.
    4. Click the Select Files button at the bottom middle of the dialog.
    5. In the new window Find the file you want to upload, select it, and Click Open.
    6. You will now be back in the File Manager dialog. Click the bottom Middle button Upload File.
    7. Wait until the file has completely uploaded before you exit the File Manager dialog.

    File Manger Picture

  5. #5
    Registered User
    Join Date
    02-14-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: How do I ammend this code to get the userform to add a comment?

    Sample.xlsm

    Hi Leith,

    As requested

    Regards
    Carl

  6. #6
    Registered User
    Join Date
    02-14-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: How do I ammend this code to get the userform to add a comment?

    HI Folks,

    Is there anyone that could give me a little advice with this issue please?

    Thanks in advance
    Kind Regards
    Carl

+ 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