#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Paste problem

Hi,
How can i paste starting from the current cell(that's currently selected)?
I'm using the below code perfectly,but i need to paste the data in the cell
that's currently selected,not to the cell "C4" as indicated below...


Workbooks.Open Filename:= _
"T:\Mourad's Team\Copy of TALISMA\Service Line Reports\Talisma
Report Template.xls"

Range("B9:Z9").Select
Selection.Copy
Windows("Daily report 07.xls").Activate
Range("C4").Select
PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("F17").Select

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Paste problem

Ideally just remove the
Range("C4").Select
and replace with
ActiveCell.Select

This will insure that only a single cell is Selected.

--
Gary''s Student - gsnu200749


"Pietro" wrote:

Hi,
How can i paste starting from the current cell(that's currently selected)?
I'm using the below code perfectly,but i need to paste the data in the cell
that's currently selected,not to the cell "C4" as indicated below...


Workbooks.Open Filename:= _
"T:\Mourad's Team\Copy of TALISMA\Service Line Reports\Talisma
Report Template.xls"

Range("B9:Z9").Select
Selection.Copy
Windows("Daily report 07.xls").Activate
Range("C4").Select
PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("F17").Select

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Paste problem

Thanx..
I need also to got to the next tab (named "Italian") and select the first
empty row in the column C to continue the paste operation,how can i do this?

"Gary''s Student" wrote:

Ideally just remove the
Range("C4").Select
and replace with
ActiveCell.Select

This will insure that only a single cell is Selected.

--
Gary''s Student - gsnu200749


"Pietro" wrote:

Hi,
How can i paste starting from the current cell(that's currently selected)?
I'm using the below code perfectly,but i need to paste the data in the cell
that's currently selected,not to the cell "C4" as indicated below...


Workbooks.Open Filename:= _
"T:\Mourad's Team\Copy of TALISMA\Service Line Reports\Talisma
Report Template.xls"

Range("B9:Z9").Select
Selection.Copy
Windows("Daily report 07.xls").Activate
Range("C4").Select
PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("F17").Select

Reply
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
Paste problem horst Excel Discussion (Misc queries) 3 October 3rd 06 05:30 PM
Problem with paste DonT Excel Worksheet Functions 0 March 29th 06 11:56 PM
Paste Problem Ed Excel Discussion (Misc queries) 1 January 5th 06 10:42 AM
Excel cut/Paste Problem: Year changes after data is copy and paste Asif Excel Discussion (Misc queries) 2 December 9th 05 05:16 PM
CUT & PASTE PROBLEM Todd Excel Discussion (Misc queries) 1 March 10th 05 12:45 AM


All times are GMT +1. The time now is 07:50 PM.

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

About Us

"It's about Microsoft Excel"