LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default macro trouble

hi i have recorded a macro for my workbook to cut paste data however what i
have observed is that the procedure is than some how rough when is pasteing
and coming back to the last sheet. may i know how to get it done very
smoothly without shaken.

here is the code

Sub Transfer_()
'
' Transfer_ Macro
'

'
Range("Form").Select
Selection.Copy
Sheets("Sales ").Select
Range("Sales[[#Headers],[PRODUCT ID ]]").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("Sales[[#Headers],[PRODUCT ID ]]").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Range("A9").Select
Sheets("Form").Select
Application.Goto Reference:="TabOrder"
Application.CutCopyMode = False
Selection.ClearContents
Range("D3").Select
ActiveCell.FormulaR1C1 = "=t0"
Range("D3").Select
ActiveCell.FormulaR1C1 = "=TODAY()"
Range("B3").Select
ActiveWorkbook.Save
End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro trouble jen_writer Excel Discussion (Misc queries) 1 February 14th 07 11:47 PM
trouble with macro glensfallslady Excel Programming 4 October 31st 06 06:13 PM
MACRO TROUBLE HELP Excel Discussion (Misc queries) 2 June 7th 06 04:09 PM
Having trouble with simple macro! Simon Lloyd[_397_] Excel Programming 1 March 2nd 04 06:23 PM
Macro trouble kdp Excel Programming 1 February 25th 04 10:25 PM


All times are GMT +1. The time now is 01:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"