+ Reply to Thread
Results 1 to 38 of 38

Affiliate Worksheet Help

  1. #1
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Affiliate Worksheet Help

    I would like some help with a couple of worksheets... I hope someone can help me.

    This is what i need to do.

    Worksheet 1

    All the data I need is on worksheet 1 this is just some of the data for example,

    PROGRAMNAME PROGRAMURL NAME KEYWORDS DESCRIPTION SKU BUYURL IMPRESSIONURL
    Bejool http://www.bejool.com Bejool.com Sterling Silver Hoop Earrings Sterling Silver Hoop Earrings Sterling Silver Hoop Earrings Sterling Silver http://www.jdoqocy.com/click-

    Worksheet 2

    SKU post_title post_content post_excerpt type code starts expires url link featured packageID image images category

    What I need to do is map the fields from worksheet 1 to worksheet 2, and move all the data in most cases about 50,000 line.

    So I would need all the data from PROGRAMNAME on (worksheet 1) to be inserted under post_title on (worksheet 2)

    I hope this makes since.

    Thank You
    Robert
    Attached Files Attached Files

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

    Re: Affiliate Worksheet Help

    your sample workbook2 should have the same data laid out how you would want it to appear from workbook1. Show us where everything goes, fill in a few rows so it's clear.
    _________________
    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!)

  3. #3
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    I inserted the data just like I would need it for importing into my website.

    But here it is again in case it not to confusing.
    PROGRAMURL = url
    CATALOGNAME = category
    NAME = post_title (and) post_excerpt
    KEYWORDS = tags
    DESCRIPTION = post_content
    SKU = SKU
    BUYURL = link
    IMAGEURL = image (and) images
    STARTDATE = starts
    ENDDATE = expires
    Attached Files Attached Files

  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: Affiliate Worksheet Help

    So, each time this happens, the data on Worksheet2 is completely erased and all the worksheet1 data is added in the appropriate columns?

  5. #5
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    Well I keep a copy and ftp it into the server, then I go to the admin panel of my script and upload it.

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

    Re: Affiliate Worksheet Help

    Right, but you didn't answer my Excel question.

  7. #7
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    Sorry, Yes...

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

    Re: Affiliate Worksheet Help

    Ok, simple enough then... put this macro into a standard code module in WORKSHEET 2 since that is where the data is being collected:

    Please Login or Register  to view this content.

    This macro will:
    1. Check to see if Worksheet 1.xls is already open and open it if it is not.
      (Be sure to edit the "path" to that file so the macro can find it when necessary)
    2. Clear the current CPO Outlet data
    3. Copy the mapped data from Worksheet 1.xls Sheet1 to CPO Outlet
    4. Close the Worksheet 1.xls file if it was originally closed

  9. #9
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    That looks great, will I need to change the name on the code for each of the files.. since (CPO Outlet) was just 1 of 1250 different file names.

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

    Re: Affiliate Worksheet Help

    We can reorganize this so that it works with "whatever" the activesheet happens to be.

    Please Login or Register  to view this content.

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

    Re: Affiliate Worksheet Help

    If you need we can make Excel prompt you to select the file to open and import from, too, so you have variable control of that without editing the macro.

  12. #12
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    I'm not sure I understand what it should do, I tried it a few times and nothing. Should I open the file with all the data or should I open both; I'm not sure.

    This is the folder that I keep all the data in. C:\Users\Robert\Desktop\CJ database files\CJ text deals\Extracted Files

    the names of the files are all different here are the first 4 in the folder
    1st in video
    4allmemory
    101Phones
    123Inkjets

    also if you would like I live in Modesto I can call you or I use Teamviewer for remote access.

  13. #13
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    "If you need we can make Excel prompt you to select the file to open and import from, too, so you have variable control of that without editing the macro. "

    I like this option, to be able to select each file.

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

    Re: Affiliate Worksheet Help

    OK, this version will import the workbook you select (a popup window will let you select the source file) into the currently activesheet.
    Please Login or Register  to view this content.

  15. #15
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    You are awesome... it works great

    I don't have much, but can I donate or buy you lunch? via paypal

  16. #16
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    Since you have opened up my eyes about what Excel can do, dealing with that same file system the columns that do not have data to import I have to enter manually for example

    Column E (type) I can put either Coupon or offer
    Column V (post_type) needs the word post
    Column W (post_status) should have the word publish

    Can this also be done?

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

    Re: Affiliate Worksheet Help

    Column E, no, Excel won't know whether you want "coupon" or "offer"
    Column V and W, sure, since it's the same for all rows...

    Please Login or Register  to view this content.

  18. #18
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    Jerry,

    I have run across another issue that I think you can help me with, some of my files are larger then 65536 line can we write into the macro that if it is more then 65536 then it will split it up into multi workbooks that are say 30,000 each or something like that.

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

    Re: Affiliate Worksheet Help

    Off hand, there's nothing in this entire project that is compatible with that idea. You are opening one workbook and mapping the data into another workbook in a specific order.... you are opening the workbooks and copy data around ... so you can't open workbooks with more than 65k rows of data.

    If your data is in files longer that 65k rows of data, upgrade to Excel 2007 or higher, this is a business expense, and a minor one.

    Once you are able to open these Excel files of greater length, then you could break it down into smaller subsets of 30k rows.

  20. #20
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    Thank You,

  21. #21
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    I am in need of an update on my macro,
    The code is below at bottom...

    What I need help with is.
    1) Column (O) needs to say "Active" from O2: to the end of the sheet.
    2) Column (P) needs to say "Yes" from P2: to the end of the sheet.
    3) Column (AK) needs to have either the number (1) or (0)
    4) Column (AL) needs to have either the number (1) or (0)
    5) Column (AP) needs to have options (Merchant Coupon) (Offers) (Deals)

    On the last one you did for me you used the following. but it does not seam to work with Excel 2007
    I was using 2003 before.
    Please Login or Register  to view this content.
    This is what I have so far and it does most of the job but I can't get the rest to work.
    Please Login or Register  to view this content.
    Last edited by Paul; 04-11-2012 at 07:04 PM. Reason: Added CODE tags. Please remember to do this yourself in the future.

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

    Re: Affiliate Worksheet Help

    Maybe:

    Please Login or Register  to view this content.

  23. #23
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    That code is for another macro.

    The new macro needs something similar

    1) Column (O) needs to say "Active" from O2: to the end of the sheet.
    2) Column (P) needs to say "Yes" from P2: to the end of the sheet.
    3) Column (AK) needs to have either the number (1)
    4) Column (AL) needs to have either the number (1)
    5) Column (AP) needs to have options (Merchant Coupon)

    So if I follow you it should look like this
    _______________________________________________________
    wb1.Close False

    With wsNEW
    LR = .Range("A" & .Rows.Count).End(xlUp).Row
    .Range("O2:O" & LR).Value = "Active"
    .Range("P2:P" & LR).Value = "Yes"
    .Range("AK2:AK" & LR).Value = "1"
    .Range("AL2:AL" & LR).Value = "1"
    .Range("AP2:AP" & LR).Value = "Merchant Coupon"


    End With
    _______________________________________________________

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

    Re: Affiliate Worksheet Help

    I'm not sure what you mean by "needs to have the options (Merchant Coupon)", but as for the rest, that looks right. When you tested it?

  25. #25
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    "needs to have the options (Merchant Coupon)", I had 3 options but I forgot the last time you helped me you stated that I would not be able to pick the option I needed.

    Here is the sheet after i run the macro.
    Attached Files Attached Files

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

    Re: Affiliate Worksheet Help

    1) You can possibly pick the options you need if you explain them, demonstrate them fully in these same sheets you're uploading.

    2) The sheet you uploaded in #25 doesn't have any code for me to troubleshoot.

    3) The code snippet I gave you in #22 shows how to insert values in Row2:LastRowOfData, but your sample sheet from #25 shows your gray cells as being pasted into Row1, so your application of the code I gave you has been edited.

  27. #27
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    OK, Let me start from scratch sheet 1 will be the file I need to convert, sheet 2 will be the import fields, sheet 3 will be the macro code, and there is a image of the idea if it is possible.

    What I need is for

    Cell (O2) to have the word "Active"
    Cell (P2) to have a choice of "Yes" or "No" --- Maybe a box could pop up and I have to pick one.
    Cell (AK2) to have a choice of "Yes" or "No" ---
    Cell (AL2) to have a choice of "Yes" or "No" ---
    Cell (AP2) to have a choice of "Deals" , "Offer" or "Merchant Coupon" ---

    If it is possible to have a box pop up with check box's (see image)

    I hope this helps and thank you very much



    **** ALSO EVERY TIME I OPEN EXCEL THE FILE (PERSONAL) OPENS SO I HAVE TO CLOSE THAT FILE AND CLICK NEW ***
    Can you please tell me how to disable that.excel-pop-up-box.gifSheet 1.xlsSheet 2.xlsm

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

    Re: Affiliate Worksheet Help

    You can use popup questions like so.. this shows you first how to apply a simple data validation drop down selection box to a range of cells, and since there are only a couple of choices, a neat trick for using the YES/NO buttons on a standard Excel MsgBox to make the default choices:

    Please Login or Register  to view this content.

  29. #29
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    Is this everything I need or just an example?

    I ran it the way it is and I get a compile error with this line.

    .Parent.Value = WorksheetFunction.Lookup(MsgBox("Click the button that will be the default value for Column P", vbYesNo), Array(6, 7), Array("Yes", "No")) End With

  30. #30
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    So I'm not sure what happened but nothing went into (P), nothing went into (O), nothing went into (AK), nothing went into (AL) & nothing went into (AP)...

    The worksheet that needed to imported had some information in it but it was all wrong.

    I'm not sure what all the commands are for so I can't try and figure it out myself. I will give it my best try and maybe you can correct my errors.

    This is what I need added to the original sheet you made me.
    Cell (O2) to have the word "Active"
    Cell (P2) to have a choice of "Yes" or "No" --- Maybe a box could pop up and I have to pick one.
    Cell (AK2) to have a choice of "Yes" or "No" ---
    Cell (AL2) to have a choice of "Yes" or "No" ---
    Cell (AP2) to have a choice of "Deals" , "Offer" or "Merchant Coupon" ---



    Here is the one you made me before. I changed a few thing to work with my new format but this part works great.
    Sub PHPIMPORT()
    'Imports a file you select into the activesheet
    Dim wb1 As Workbook, wsNEW As Worksheet
    Dim LR As Long, fNAME As String

    If MsgBox("Process data into the activesheet?", _
    vbYesNo, "Confirm") = vbNo Then Exit Sub
    Set wsNEW = ActiveSheet

    fNAME = Application.GetOpenFilename("Microsoft Office Excel Files (.xls),.xls")
    If fNAME = "False" Then Exit Sub

    On Error Resume Next
    Set wb1 = Workbooks.Open(fNAME)

    wsNEW.UsedRange.Offset(1).ClearContents

    With wb1.Sheets("Sheet1")
    LR = .Range("A" & .Rows.Count).End(xlUp).Row
    .Range("E2:E" & LR).Copy wsNEW.Range("B2") 'NAME>TITLE
    .Range("G2:G" & LR).Copy wsNEW.Range("C2") 'DESCRIPTION>DESCRIPTION
    .Range("E2:E" & LR).Copy wsNEW.Range("BD2") 'NAME>MCOUPON_TAG
    .Range("B2:B" & LR).Copy wsNEW.Range("D2") 'PROGRAMURL>URL
    .Range("R2:R" & LR).Copy wsNEW.Range("BC2") 'BUYURL>AFFURL
    .Range("R2:R" & LR).Copy wsNEW.Range("BE2") 'BUYURL>MCOUPON_URL
    .Range("T2:T" & LR).Copy wsNEW.Range("BI2") 'IMAGEURL>MCOUPON_LOGO
    .Range("C2:C" & LR).Copy wsNEW.Range("L2") 'CATALOGNAME>CATEGORY_ID
    .Range("F2:F" & LR).Copy wsNEW.Range("AT2") 'KEYWORDS>META_KEYWORDS
    .Range("G2:G" & LR).Copy wsNEW.Range("BG2") 'DESCRIPTION>MCOUPON_DESC
    .Range("N2:N" & LR).Copy wsNEW.Range("AW2") 'SALEPRICE>PRICE
    .Range("T2:T" & LR).Copy wsNEW.Range("AX2") 'IMAGEURL>IMAGE
    .Range("C2:C" & LR).Copy wsNEW.Range("AZ2") 'CATALOGNAME>STORE_ID
    End With


    Now I will try and do as much as I can.


    wb1.Close False

    LR = Range("A" & Rows.Count).End(xlUp).Row

    Range("O2:O" & LR).Value = "Active"

    Range("P2:P" & LR).Validation
    .Delete
    .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="Yes, No"
    .IgnoreBlank = True
    .InCellDropdown = True
    .InputTitle = ""
    .ErrorTitle = ""
    .InputMessage = ""
    .ErrorMessage = ""
    .ShowInput = True
    .ShowError = True
    .Parent.Value = WorksheetFunction.Lookup(MsgBox("Click the button that will be the default value for Column P", vbYesNo), Array(6, 7), Array("Yes", "No"))

    End With

    Range("AK2:AK" & LR).Validation
    .Delete
    .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="Yes, No"
    .IgnoreBlank = True
    .InCellDropdown = True
    .InputTitle = ""
    .ErrorTitle = ""
    .InputMessage = ""
    .ErrorMessage = ""
    .ShowInput = True
    .ShowError = True
    .Parent.Value = WorksheetFunction.Lookup(MsgBox("Click the button that will be the default value for Column AK", vbYesNo), Array(6, 7), Array("Yes", "No"))

    End With

    Range("AL2:AL" & LR).Validation
    .Delete
    .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="Yes, No"
    .IgnoreBlank = True
    .InCellDropdown = True
    .InputTitle = ""
    .ErrorTitle = ""
    .InputMessage = ""
    .ErrorMessage = ""
    .ShowInput = True
    .ShowError = True
    .Parent.Value = WorksheetFunction.Lookup(MsgBox("Click the button that will be the default value for Column AL", vbYesNo), Array(6, 7), Array("Yes", "No"))

    End With

    Range("AP2:AP" & LR).Validation
    .Delete
    .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="Deals, Offer, Merchant Coupon"
    .IgnoreBlank = True
    .InCellDropdown = True
    .InputTitle = ""
    .ErrorTitle = ""
    .InputMessage = ""
    .ErrorMessage = ""
    .ShowInput = True
    .ShowError = True
    .Parent.Value = WorksheetFunction.Lookup(MsgBox("Click the button that will be the default value for Column P" _
    & vbLf & vbLf & "Yes = 'Deals'" & vbLf & "No = 'Offer'" & vbLf & "Cancel = 'Merchant Coupon'", vbYesNoCancel, "Choose"), _
    Array(2, 6, 7), Array("Merchant Coupon", "Deals", "Offer"))
    End With

    End Sub


    OK; so this is what I have done, I will try it but, I don't think it's going to work.

  31. #31
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    OK, So I ran the macro and this is what I got in return.

    If you look at the field names it removed the name and added what the macro was told to bu only on 2 rows not the complete worksheet, this worksheet had 16,000 lines I cut it to just 2 so you could see it.
    Attached Files Attached Files

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

    Re: Affiliate Worksheet Help

    This is your problem, oddly enough:

    Please Login or Register  to view this content.
    You read that as: Look UP column A to the last row with data in it and memorize that row. But you have no data in column A, so it's just spotting the Title row.

    Change that to "B", it seems like you get data in that column.

    Good job putting the rest of that together.

  33. #33
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    OK, we are almost there. some of it is perfect and some I just need to make changes to.

    1) Column (O) nothing happens.
    2) Column (P) Needs to have the options but, I need to choose the option before the import and then it places the same answer on all the rows.
    3) Column (AK, AL) are just fine this way I can pick the ones I need to have as Featured.
    4) Column (AP) just like column (p) once I choose the option I want then it add it to all the rows. This is because some merchants offer coupons some offer deals, and so on

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

    Re: Affiliate Worksheet Help

    1) Using the code from your last sheet, I already see column O is filling in. Once you've changed to LR = code just above it to use column B, it will fill down instead of up.

    2) The sample code I gave you already does make you click YES or NO to indicate the value you want entered.

    3) The sample code i gave you for P works for AK:AL as well, just adapt the columns. (this should be almost identical to P)

    4) The sample code I gave you does make you pick YES/NO/CANCEL and tells you what each button will get you.

  35. #35
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Affiliate Worksheet Help

    OK, you did it again, everything works perfect.

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

    Re: Affiliate Worksheet Help

    If that takes care of your need, please click Thread Tools above your first post and mark this thread as SOLVED.

  37. #37
    Registered User
    Join Date
    02-07-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    37

    Smile Re: Affiliate Worksheet Help

    I'm back, and I have another change going on with that same sheet.

    This is what I'm trying to do.

    With this section, can the box pop up; and instead of having "Yes", "No", & "Cancel" can I have a choice of buttons to push or a check box with these options. I will only need to choose 1 option then press a button that says "Enter" and that will enter that option all the way down the sheet.
    • Hot Product
    • Great Deals
    • Promotional Offers
    • Printable Coupons
    • Grocery Coupons
    • Free Products
    • Sale/Discount
    • Free Shipping
    • Coupons
    • Sweepstakes
    • NONE OF THE ABOVE (THIS WILL JUST CLOSE THE BOX WITHOUT DOING ANYTHING.)


    With Range("L2:L" & LR).Validation
    .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:="Deals, Offer, Merchant Coupon"
    .IgnoreBlank = True
    .InCellDropdown = True
    .InputTitle = ""
    .ErrorTitle = ""
    .InputMessage = ""
    .ErrorMessage = ""
    .ShowInput = True
    .ShowError = True
    .Parent.Value = WorksheetFunction.Lookup(MsgBox("SELECT LINK TYPE" _
    & vbLf & vbLf & "Yes = 'Deals'" & vbLf & "No = 'Offer'" & vbLf & "Cancel = 'Merchant Coupon'", vbYesNoCancel, "Choose"), _
    Array(2, 6, 7), Array("Merchant Coupon", "Deals", "Offer"))


    End With


    Once again thank you for all your help.

    Robert Threadgill
    http://wegatta.com

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

    Re: Affiliate Worksheet Help

    No, the technique I showed you was was "trick" that's doable simply because there are only 1-3 choices. This question introduces an notable level of complexity, will require the creation/use of forms.

    As such, as requested, this thread is complete. Please mark it as solved.

    Post your new requirements in a new thread with supporting documentation and a helpful title to attract the right kind of helpers. "Popup a form to make a choice from a list of strings, or select None".

    You can include a link to this thread if you think it would help, I don't think it will be all that helpful, but it's your call.

+ 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