Wednesday, July 6, 2016

[Solved] Auto Fill in raw of Date from Given Specific Start Date to Finish Date

Auto Fill in raw of Date from Given Specific Start Date to Finish Date

Hi
  I want a macro which auto fill in row From Start Date to Finish Date at regular interval.
Please guide me.
For example.
My start Date is 25-May-10 (but i want that row start from 01-May-2010) nad finish Date is 12-DEC-2010.
manually.from C3 (May-2010)


C3
D3
E3
F3
G3
H3
I3
J3
K3
L3
M3

May-2010
Jun-2010
Jul-2010
Aug-2010
Sep-2010
Oct-2010
Nov-2010
Dec-2010
Sep-2011
Oct-2011
Nov-2011

 
After that i want that if may-10 comes in C3 cell then
Jun-10 will come in E3 cell , Jul-10 will come in G3 cell and so on
 
Regards\\

Solutions to the Problem Auto Fill in raw of Date from Given Specific Start Date to Finish Date

Download Error Fixer for Free Now

See if this is what you need:
 
Sub AutoFillDate()
Dim StartDate As Date
Dim FinishDate As Date
Dim TargetDate As Date
Dim TargetCell As Range
StartDate = Range("A1")
FinishDate = Range("A2")
Set TargetCell = Range("C3")
myDay = Day(StartDate)
If myDay > 1 Then
    TargetDate = StartDate - myDay + 1
Else
    TargetDate = StartDate
End If
Do
    TargetCell = TargetDate
    TargetDate = DateAdd("m", 1, TargetDate + 1)
    Set TargetCell = TargetCell.Offset(0, 1)
Loop Until TargetDate >= FinishDate
End Sub

Windows Error Reporting - To Fix Auto Fill in raw of Date from Given Specific Start Date to Finish Date

  1. Go to Start button.
  2. Open Control Panel.
  3. Go to Windows Error Reporting.
  4. Click on System and Maintenance, then click Problem Reports and Solutions.
  5. Next, click Change Settings located on the left side panel of the Problem Reports and Solutions window.
  6. Select an option to configure how you want Windows to look for a solution to your problems. You may allow Windows to do it automatically or ask you every time to check if problem occurs.
  7. Next, click the Advanced settings link.
  8. Select Off to turn off Error Reporting.

Another Safe way to Fix the Problem: Auto Fill in raw of Date from Given Specific Start Date to Finish Date:

How to Fix Auto Fill in raw of Date from Given Specific Start Date to Finish Date with SmartPCFixer?

1. Click the button to download SmartPCFixer . Install it on your system.  Open it, and it will perform a scan for your system. The junk files will be shown in the list.

2. After the scan is finished, you can see the errors and problems which need to be repaired.

3. The Repair part is done, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in this software. Like dll downloading, windows updating and print spooler error repair.


Related: AMD Radeon HD 7800M Win8 not working [Anwsered],I can access the internet, get on facebook and get to hotmail, but I can't play games on facebook and I can't open or respond to my e-mails,I keep getting this Media Player error when I log on my computer. [Anwsered],[Anwsered] System Hanging on shutdown and restart,Unable to get the Vlookup property of the WorksheetFunction class,Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22)
Read More: ArcMap 10 incompatibility [Anwsered],How to Fix - Attempting to change the work group on my Windows 7 Professional machine. After rebooting, all of the settings go back to default and not what I changed it to.?,[Solved] auto bold keyword reviewing tool in word 2010,Troubleshooting:Back-up Process Restores Earlier Syst Settings--Why?,How to Fix Error - Back up & Image an External USB Hard drive to an External USB Hard drive using Windows 7 native app -possible or not ??,application not found error,any problems in a team where one has Windows XP and the other has Windows 7?,Application/Object-Defined Error,An Excel formula question where hours are totalled and cumulating,Anyone know the hardware email?

No comments:

Post a Comment