Solved

VBA Command date.DTTo.Value = Date - 1

Posted on 2014-01-17
2
322 Views
Last Modified: 2014-01-17
I inherited a spreadsheet.

WHat does this mean in VBA?

date.DTTo.Value = Date - 1

DTTo is presumably some sort of variable ... but I can't determine what it is.


What about ?

Update.Show
0
Comment
Question by:Patrick O'Dea
2 Comments
 
LVL 3

Accepted Solution

by:
Sreeram earned 500 total points
ID: 39790194
HI

  date.DTTo.Value = Date - 1

this line of code is refreing to a control

date - sheet name
DTTo-control name
Date- inbuilt funtion to get the system date

similar type of question has been answered in the below link:

http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28341196.html


update is an inbuilt function.
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 39790327
Thanks! ....
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now