+ Reply to Thread
Results 1 to 12 of 12

problem with find blank cells and assign to names

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    greece
    MS-Off Ver
    Excel 2010
    Posts
    66

    problem with find blank cells and assign to names

    Hi again. I'm new in vba-excel. I'm writting a code and i have stack to the following point.

    Table:
    col. A col. B col.C
    1 [merged] GROUP A
    2 John 2
    3 Kostas
    4 George 4 fff
    5 Paul gh
    6 Mary 6 fff
    7 Chris 8
    .. ...
    20 Dan 10 gf

    I would like a help for the code that, finds the blank cells in column B and say to me in which names (col.A) are assign these blank cells. The export I want to be kept in clipboard so to be paste to a word document or automatically open the clipboard. When I paste I want to be shown the merged cell that is the name of the table (GROUP A) and the names of the blank cells of col.B.

    Also, with another macro button to tell me which names has the values of col c. ffff and gh. The export should be to another sheet.

    Please for your help.

  2. #2
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: problem with find blank cells and assign to names

    Better provide sample excel workbook, its make easy to resolve ur query
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  3. #3
    Registered User
    Join Date
    04-22-2013
    Location
    greece
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: problem with find blank cells and assign to names

    Thanks for the reply.
    I provide a sample workbook and i'm waiting for your help.

  4. #4
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: problem with find blank cells and assign to names

    Hi,

    after seeing your file, i need some clarification.

    for Kostas, mary, Chris there is no value in Column B then what u want me to do with names ?

    for some names there is no value in column B but values there in column C , for this scenario what u want me do ?

  5. #5
    Registered User
    Join Date
    04-22-2013
    Location
    greece
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: problem with find blank cells and assign to names

    Ok,
    One macro will report the names Kostas, mary, Chris that they dont have values in col. B.

    Another macro will report the names that have code [gg, ff] in col.C, despite of values of col.B, maybe the name that have code has no value in col.b

    So I want two separate macro.

    Thanks for your response.

  6. #6
    Registered User
    Join Date
    04-22-2013
    Location
    greece
    MS-Off Ver
    Excel 2010
    Posts
    66
    Hi ,
    How you see the clarifications? Can you help?

  7. #7
    Registered User
    Join Date
    04-22-2013
    Location
    greece
    MS-Off Ver
    Excel 2010
    Posts
    66
    Hello, maybe please someone help me found a solution. Thanks in advance.

  8. #8
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: problem with find blank cells and assign to names

    try this attached file and let me know is it what u r looking for...

    Open the sheet and press Alt+F8 and run it..

    Hope its what u r looking for..

  9. #9
    Registered User
    Join Date
    04-22-2013
    Location
    greece
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: problem with find blank cells and assign to names

    I attach the sample file with the new questions.
    Thanks in advance

  10. #10
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: problem with find blank cells and assign to names

    Hi Konexcelmath

    please try attached file.

    let me know if u need any more clarification.

  11. #11
    Registered User
    Join Date
    04-22-2013
    Location
    greece
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: problem with find blank cells and assign to names

    Ok thanks a lot, is what i have in mind.

  12. #12
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: problem with find blank cells and assign to names

    konexcelmath

    if your query got resolved and you happy with my solution then please dont forget click on ADD REPUTATION and give your valuable comments.

+ 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. Macro to count consecutive blank cells and assign a number
    By voitoosh in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-08-2013, 03:24 AM
  2. Using LOOKUP to assign month names to cells with dates.
    By AndyPandy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-12-2013, 06:06 AM
  3. Assign Reference Number to Blank Cells
    By BSOD14 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-05-2013, 10:48 AM
  4. [SOLVED] Find first non-blank cell after a group of blanks copy offset cells, find next blank, loop
    By gwsampso in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-21-2012, 06:11 AM
  5. Auto Assign Unique Values to Blank Cells
    By NSTurk725 in forum Excel General
    Replies: 6
    Last Post: 06-20-2009, 05: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