Thread: understanding
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Darrell_Sarrasin via OfficeKB.com Darrell_Sarrasin via OfficeKB.com is offline
external usenet poster
 
Posts: 66
Default understanding

Awesome thanks!!!

is there a way to get this to auto run based on the selection off a valdation
list? I can get it to run behind the button, but want it to auto run.

Thanks again for your help!!

JLGWhiz wrote:
The selects and selections are unnecessary. The problem was that VBA likes
to know which sheet it is supposed to be working on. I am not sure if the
names are correct but the syntax will work. Check the sheet names to be
sure there is no typo.

Sheets("information").Range("A3:A21").Copy
Sheets("information sheet").Range("C1") _
.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, _
Operation:=xlNone, SkipBlanks:=False, Transpose:=True

I have recently ran macro record to get a quick code built to help me set
up

[quoted text clipped - 18 lines]

Can someone help me understand why I am getting the error?


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/201005/1