I tried it and it worked fine. However, I didn't spend the time to create a bunch of drop-down menus. I just used some data I already had.
Maybe the problem is with copying the selected values of the drop-downs. perhaps if you posted your file? (or an edited version) Otherwise, we could spend a whole bunch of time trying to fix a problem that has nothing to do with what you're experiencing. Paul ----------------------------------------- “Do all the good you can, By all the means you can, In all the ways you can, In all the places you can, At all the times you can, To all the people you can, As long as ever you can.” - John Wesley ----------------------------------------- ________________________________ From: key log <target...@gmail.com> To: excel-macros@googlegroups.com Sent: Wed, October 31, 2012 5:13:54 PM Subject: Re: $$Excel-Macros$$ excel macros for pasting to selected range I tried it and it didn't work. I select two whole rows and when I run the macros nothing happens On Wednesday, October 31, 2012 12:26:09 PM UTC-7, Sam Mathai Chacko wrote: Is this what you wanted?? > >Sub CopyToRows() > > Dim strRange As String > strRange = Selection.EntireRow.Address(0, 0) > Range(strRange).Value = Range("2:2").Value > >End Sub > >Regards, >Sam Mathai Chacko > > > > >On Thu, Nov 1, 2012 at 12:50 AM, key log <targ...@gmail.com> wrote: > >Hi all, >> >>This is a very easy macro but since I just started learning about VBA I'm >>having >>a hard time making something that works. What I want to do is have a macros >>button that will paste a specific row to a selected field. So, I want the >>user >>to select whatever rows they want, say rows 99-101 and then click the macro >>button which will paste whatever is on ROW 2 to the selected rows, which is a >>bunch of drop down menus. >> >>Any help is greatly appreciated.-- >>Join official facebook page of this forum @ https://www.facebook.com/ >>discussexcel >> >>FORUM RULES (1120+ members already BANNED for violation) >> >>1) Use concise, accurate thread titles. Poor thread titles, like Please Help, >>Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not >>get >>quick attention or may not be answered. >> >>2) Don't post a question in the thread of another member. >> >>3) Don't post questions regarding breaking or bypassing any security measure. >> >>4) Acknowledge the responses you receive, good or bad. >> >>5) Cross-promotion of, or links to, forums competitive to this forum in >>signatures are prohibited. >> >> >>6) Jobs posting is not allowed. >> >>7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. >> >>NOTE : Don't ever post personal or confidential data in a workbook. Forum >>owners >>and members are not responsible for any loss. >>--- >>You received this message because you are subscribed to the Google Groups "MS >>EXCEL AND VBA MACROS" group. >>To post to this group, send email to excel-...@googlegroups.com. >>To unsubscribe from this group, send email to excel-macros...@ >googlegroups.com. >>Visit this group at http://groups.google.com/group/excel-macros?hl=en. >> >> >> > > >-- >Sam Mathai Chacko >-- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros?hl=en. -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros?hl=en.