Hi all
I need your help again, guys.:)
I have one column(date) which I wanna set date range from VBA macro. The problem is I wanna use Autofill to fill from the start date to the specific end date, but with Autofill func I cannot do this.
I attached a sample to explain my problem. Please take a look and give me a hint to do this.
Thanx so much.
Autofill from start date to end date
- linkin_anytime
- Closed
-
-
Re: Autofill from start date to end date
Hi linkin_anytime,
Maybe the attached will work for you?
I named A2 - DateStart, and added I3 (named DateDiff) which calculates the difference between the dates.
Stefan -
-
Re: Autofill from start date to end date
Hi linkin_anytime
The formula above is a relative one where it will always add 1 to the cell above.
Based on your example, you could use the VBA code below
-
Re: Autofill from start date to end date
Quote from Dave Hawley
Hi Dave
It's great. It works perfectly. Thanx both of you:thumbcoo: -
-
-
Re: Autofill from start date to end date
Quote from norieThanx Norie. You broadened my mind
-
Re: Autofill from start date to end date
This code is working, but instead of coloum i want to display date in one row respectively, can you provide me code for same
regards
-
Re: Autofill from start date to end date
yogesh.pisal
Could you please start a new thread?
-
Re: Autofill from start date to end date
please find attached sheet with my requirement
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!