Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Macro for Auto Fill

Example data:
Site EmpID WeekEndingDate Agent Calls Ans
Teatown ab777t ___________ Bob Brown 200
Boxville cc221m ___________ Sister Sue 800

**This is weekly info so the rows vary.

I need a macro to auto fill the WeekEndingDate from a date that I enter each
month on another tab.

Thank you soooo Much!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Macro for Auto Fill

Sub Auto_Fill()
Dim lRow As Long
With ActiveSheet
.Range("C2").Value = Sheets("Sheet2").Range("A1").Value
lRow = .Range("B" & Rows.Count).End(xlUp).Row
.Range("C2:C" & lRow).FillDown
End With
End Sub


Gord Dibben MS Excel MVP


On Thu, 29 Oct 2009 10:46:12 -0700, drober
wrote:

Example data:
Site EmpID WeekEndingDate Agent Calls Ans
Teatown ab777t ___________ Bob Brown 200
Boxville cc221m ___________ Sister Sue 800

**This is weekly info so the rows vary.

I need a macro to auto fill the WeekEndingDate from a date that I enter each
month on another tab.

Thank you soooo Much!!


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
Auto Fill Down Macro Angela T Excel Worksheet Functions 5 November 17th 09 07:01 PM
How to use auto fill in a macro PerryK Excel Programming 4 March 11th 09 03:41 PM
Recording Macro to auto-fill Zee Excel Discussion (Misc queries) 1 July 2nd 08 11:12 PM
Macro for Auto Fill carolini Excel Discussion (Misc queries) 2 December 6th 05 09:11 PM
Macro Auto-Fill Field. Josh Excel Programming 2 February 4th 05 10:01 PM


All times are GMT +1. The time now is 11:57 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"