Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VBA Command date.DTTo.Value = Date - 1

Posted on 2014-01-17
2
Medium Priority
?
332 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

885 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