ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA loop (https://www.excelbanter.com/excel-programming/323183-vba-loop.html)

JohnUk

VBA loop
 
Hi again,
I have another problem, can someone give me a code that
can copy a date from one cell and drop it into the first
empty cell down a column
Many thanks in advance
John
PS Thanks to Tom Ogilvy for last problem solved

Bob Phillips[_6_]

VBA loop
 
Cells(Rows.Count,"A").End(xlup).Offset(1,0).Value = Range("B1").Value

--

HTH

RP
(remove nothere from the email address if mailing direct)


"JohnUK" wrote in message
...
Hi again,
I have another problem, can someone give me a code that
can copy a date from one cell and drop it into the first
empty cell down a column
Many thanks in advance
John
PS Thanks to Tom Ogilvy for last problem solved




Ed

VBA loop
 
John:

How are you getting to the cell with the date? Will it be the same cell
every time? Will the date be dynamic (changing every time you open the
workbook on a different day to reflect the actual date) or static and never
changing? Are you inserting this date as the start of a larger macro
filling in a row of data?

Ed

"JohnUK" wrote in message
...
Hi again,
I have another problem, can someone give me a code that
can copy a date from one cell and drop it into the first
empty cell down a column
Many thanks in advance
John
PS Thanks to Tom Ogilvy for last problem solved





All times are GMT +1. The time now is 11:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com