Solved

VBA Command date.DTTo.Value = Date - 1

Posted on 2014-01-17
2
326 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel change font color in formula 19 28
how to do this Excel search box Soundex Search 6 27
Set WorkSheet  not Working 9 38
remove extra space at end of cell 12 31
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

807 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