Hi, totally stuck here. So I record a marcos that does what I want (basically take some data from one worksheet and paste (transposing) onto another spreadsheet) and it works - Here it is:
Sheets("Paste Sheet Here").Select
Range("B4:B8").Select
Selection.Copy
Sheets("Database").Select
Range("A1").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=True
Sheets("Paste Sheet Here").Select
Range("E12:E44").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Database").Select
Range("F1").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=True
Sheets("Paste Sheet Here").Select
Range("F2:F9").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Database").Select
Range("AM1").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=True
Sheets("Paste Sheet Here").Select
Range("A1:G44").Select
Application.CutCopyMode = False
Selection.ClearContents
Selection.ClearFormats
ActiveSheet.Shapes("BBC").Select
Selection.Cut
Sheets("Database").Select
Range("A1").Select
Then I cut and paste the same EXACT thing into a command button and - nothing. I get an error "Run Time Error 1004 Select method of Range Class Failed" at "Range("A1").Select" which seems like a rather simple request. Again, it totally works when I run it as a macros, but I need none excel users to do this, so I need to have it so they just click a button and away it goes. Any help?
Thanks!
Kate
Sheets("Paste Sheet Here").Select
Range("B4:B8").Select
Selection.Copy
Sheets("Database").Select
Range("A1").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=True
Sheets("Paste Sheet Here").Select
Range("E12:E44").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Database").Select
Range("F1").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=True
Sheets("Paste Sheet Here").Select
Range("F2:F9").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Database").Select
Range("AM1").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=True
Sheets("Paste Sheet Here").Select
Range("A1:G44").Select
Application.CutCopyMode = False
Selection.ClearContents
Selection.ClearFormats
ActiveSheet.Shapes("BBC").Select
Selection.Cut
Sheets("Database").Select
Range("A1").Select
Then I cut and paste the same EXACT thing into a command button and - nothing. I get an error "Run Time Error 1004 Select method of Range Class Failed" at "Range("A1").Select" which seems like a rather simple request. Again, it totally works when I run it as a macros, but I need none excel users to do this, so I need to have it so they just click a button and away it goes. Any help?
Thanks!
Kate