Jump to content
Fórum Script Brasil
  • 0

Question

Boa tarde!

O código abaixo esta dando erro 1004 na linha em destaque quando clico no botão transferir, podem me dar uma ajuda?

 

Sub Transfere()
'
' Transfere Macro
'

'
    Range("B5").Select
    Range(Selection, Selection.End(xlToRight)).Select
    Selection.Copy
    Sheets("Base_Dados").Select Range("A1").Select
    Selection.End(xlDown).Select
    ActiveCell.Offset(1, 0).Range("A1").Select
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False
    Range("A1").Select
    Sheets("Digitação").Select
    Range("E8:F8").Select
    Application.CutCopyMode = False
    Selection.ClearContents
    Range("H8").Select
    Selection.ClearContents
    Range("M8").Select
    Selection.ClearContents
    Range("B8:C8").Select
End Sub
 

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      149411
    • Total Posts
      645902
×
×
  • Create New...