+ Reply to Thread
Results 1 to 4 of 4

VBA which works similar to 'comments'

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-09-2015
    Location
    malta
    MS-Off Ver
    Microsoft 365
    Posts
    387

    VBA which works similar to 'comments'

    Hi all,

    Hope all is well. I don't know whether this is possible or not, I am trying to create a macro which would do the following to any randomly selected cell. So in our example the user would choose a random cell, e.g A1. The macro is run, and as soon as it is run, the following occurs:

    Step 1: when the macro is run, it will only work for the randomly selected cell. In this case, A1
    Step 2: A pop-up box appears which would prompt the user to input some information. The pop up box should contain a field called: "Subject" and adjacent blank space to write, another field called "Objectives" and adjacent blank space to write additional information.
    Step 3: When the user fills the blank space and is ready the 'pop up box' would close.
    Step 4: All information written in the pop-up box will be stored (i.e. will not be lost).
    Step 5: The user can review the pop-up box (with the additional information inserted in step 3 above) by clicking on that cell again whenever he wants.

    In case this sounds very confusing, what I would like to create is something similar to when you insert a comment to a particular cell. That is, you select a cell, insert the comment and you can view the comment again later on.

    I don't know whether this could be done or not, so appreciate any feedback or suggestions or alternatives.

    Thanks a lot guys, really appreciate all your kind help.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: VBA which works similar to 'comments'

    You are probably going to need to use a userform.

  3. #3
    Forum Contributor
    Join Date
    02-09-2015
    Location
    malta
    MS-Off Ver
    Microsoft 365
    Posts
    387
    Thanks for your suggestion So is there a possible VBA for it ?
    Last edited by Keibri; 06-27-2015 at 06:07 AM.

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: VBA which works similar to 'comments'

    You can code a created userform to do about anything. I am not going to build the actual userform for you though (it would need to be created in your real workbook anyways). If you get it created, submit your workbook and I am sure we can generate the code that you requested.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Run time error 40036, similar procedures - works in one sheet not in the other
    By jdfjab in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-14-2012, 09:21 AM
  2. Replies: 3
    Last Post: 11-30-2011, 08:44 PM
  3. ProductIf-that works in a similar fashion
    By ben townson in forum Excel General
    Replies: 1
    Last Post: 06-08-2005, 11:05 AM
  4. Pop-up box similar to comments box
    By akk in forum Excel General
    Replies: 5
    Last Post: 01-25-2005, 12:06 AM

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