VBA - Copy range # of times value is in Colum

Closed
becca - 13 Sep 2011 à 10:15
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 13 Sep 2011 à 18:03
Hello,


I am looking for VBA code to copy/paste a range the same # of times a value (Department Code) appears in Column A. So, if Department 1234 appears 10 times, the Range named COOL will paste 10 times. Oh, also, the Department Code is also a named range on the COOL spreadsheet. So, I want the code to look at this named range to determine what to search for.

I hope someone can assist. Many thanks.


1 response

rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
13 Sep 2011 à 11:31
Could you post a sample workbook at some file sharing site and post back the link to the file here. In that that sample book, have some sample data and use that workbook as reference to re-explain you issue
Thanks for your reply, but I don't kow of any file sharing sites?
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
13 Sep 2011 à 18:03
Do a google search on free file sharing sites You will find many