Posting a date column in Excel VBA -


i'm stuck on should simple question, frustrating me greatly.

essentially, i'm sorting through many files , manipulating them, stuck on this: how add in column date in every cell down end of other columns have data?

say there 5 other columns length of 20 each. code use make column 6 have value length of 20? length varies each sheet work on, , has been problem.

in program matlab, denote putting f1:end, finding answer excel driving me crazy!

any appreciated.

in vba typically bottom find last non-blank cell in column. this, can .row concatenate range object definition. example:

with activesheet     .range("f1:f" & .cells(rows.count, 5).end(xlup).row) = format(now, "dd-mmm-yyyy  hh:mm") end 

this fill column f first row cell in column f next last non-blank value in column e.


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -