+ Reply to Thread
Results 1 to 3 of 3

posting values from one sheet to another

  1. #1
    Registered User
    Join Date
    03-09-2007
    Posts
    6

    Question posting values from one sheet to another

    Hi everybody i'm trying to copy a value from one cell on sheet1 for example to paste it on Sheet2 by using a button. this is the formula i'm using :

    Sheets("Sheet1").Select
    Range("E24").Select
    Selection.Copy
    Sheets("Sheet2").Select
    Range("A1").Select
    Selection.End(xlDown).Select
    Selection.End(xlDown).Select
    Selection.End(xlUp).Select
    Selection.Offset(1, 0).Select
    Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
    False, Transpose:=False

    and it is giving me Run time error select method of range failed in the line (range ("A1").Select, can anyone please tell me what am i doing wrong, specially when i used the same formula in the past and it worked. what i want exactly is to use sheet1 as an invoice template and post values to sheet2 each time i make a new invoice. thank you in advance.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    Hi, Will this work for you??
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-09-2007
    Posts
    6
    Thank you super dave !! it worked fine..i appreciate it

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1