LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Filling In Data Beneath Current Rows

You haven't told us what is wrong.

--
Regards,
Tom Ogilvy

"Jasper" wrote in message
...
For an application I am working on I need to have a macro to fill allready
copied Data in the Rows beneath the allready filled rows. I wanted to use
this rule:

Range("a2").End(xlDown).Offset(1, 9).Select

But I cant get it to work when I use it in the next macro:

Windows("Kostenbeheerssysteem Vorm I 15 februari 2005.xls").Activate
ActiveSheet.Paste
Cells.Select
With Selection
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlTop
.WrapText = False
.Orientation = 0
.AddIndent = False
.ShrinkToFit = False
.MergeCells = False
End With
Cells.EntireColumn.AutoFit
Rows("1:1").Select
Selection.Delete Shift:=xlUp
Columns("K:K").Select
Range(Selection, Selection.End(xlToRight)).Select
Selection.EntireColumn.Hidden = True
Range("A1").Select
End Sub

Can anyone tell me what I am doing wrong? Thanks in Advance,


Jasper



 
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
Header Row with Option to Shrink/Expand Rows Beneath kippers Excel Worksheet Functions 2 June 22nd 09 12:50 PM
Data: select a cell x rows below the current, where x is designate manxman Excel Discussion (Misc queries) 1 July 18th 06 05:32 PM
Inserting Data Beneath Current Rows Jasper Excel Programming 3 February 21st 05 03:10 PM
Sorting rows beneath headlines in another sheet Imbecill[_2_] Excel Programming 1 May 25th 04 01:07 AM
Filling rows Salim Excel Programming 1 December 4th 03 05:05 AM


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

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"