detlion1643
Board Regular
- Joined
- Nov 25, 2009
- Messages
- 164
Basically, I am passing into this function 2 strings. If it meets both criteria, the function will return one integer and one string which are needed for multiple other functions. I am just looking for a way to organize my code and this function is just that way.
I am looking to return pgcnt = *, and ccurl = ** so that I can use them throughout the rest of the sub.
Code:
Function brand_category_search_acer(strbrand, strcat)
If strcat = "notebooks" And strbrand = "acer" Then
pgcnt = 2
ccurl = "http://www.costcentral.com/product-list/Notebooks/26/ACER/Z00196/"
End If
End Function
I am looking to return pgcnt = *, and ccurl = ** so that I can use them throughout the rest of the sub.