Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA Code for selecting days

Hi,

Im strugling with this whole VBA code which I'm slowly trying to
learn.

Heres what I wish to do

I have daily dates from 1-Jan-94 all the way to 31-Dec-03 in column A
(starting in row 5)

In column C, I have the daily share prices (also starting in row 5)

In column F, I wish to work out the average returns of the last 5 days
of each month i.e =average(x:x) where x=the share prices for the last 5
days of Jan, feb and so on.

I hope my explanation is clear.

I am trying to do all this in VBA Code and my worksheet name is called
"Results"

Can anyone help me out?

Cheers
Rob


---
Message posted from http://www.ExcelForum.com/

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
VBA Code for selecting worksheet Marie Bayes Excel Discussion (Misc queries) 5 January 11th 07 12:37 PM
VBA Code for selecting row [email protected] Excel Discussion (Misc queries) 2 June 9th 05 10:44 PM
selecting days of week using a formula in spreadsheets Terry Excel Worksheet Functions 6 April 23rd 05 01:19 PM
Selecting cells for code Matt_16 Excel Programming 1 May 1st 04 06:26 PM
Selecting a PivotItem in code Robert E. Peterson Excel Programming 1 February 4th 04 06:30 PM


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