Windows 7 excel 2007
Im real new at VBA (but do know some PHP if that helps lol)
ANYWAY a website had a way to copy and past without using the clipboard link here: "Optimize Slow VBA Code. Speed Up Efficient VBA Code/Macros"
When i use this code i get an "Object required" and if i use "Option Explicit" i get "Variable not defined"
Only thing i can think of is i need to use a "Set" or "Dim" of some type at the top but that where im lost at lol
If i use it on the same sheet there no errors
Ty for any help one can give
Im real new at VBA (but do know some PHP if that helps lol)
ANYWAY a website had a way to copy and past without using the clipboard link here: "Optimize Slow VBA Code. Speed Up Efficient VBA Code/Macros"
Code:
Sub Testing()
Sheet1.Range("A1").Copy Destination:=Sheet2.Range("B1")
End Sub
When i use this code i get an "Object required" and if i use "Option Explicit" i get "Variable not defined"
Only thing i can think of is i need to use a "Set" or "Dim" of some type at the top but that where im lost at lol
If i use it on the same sheet there no errors
Ty for any help one can give
Last edited: