?
Solved

Error in Macro from Inherited Spreadsheet

Posted on 2014-01-17
2
Medium Priority
?
228 Views
Last Modified: 2014-01-17
All,

See attached - a bit of a monster.

I have removed any sensitive data and made the data anonymous.
So it may be a bit untidy.

1. Click Ctl+k

2. This macro crashes

Compile Error - Can't find project or Library
Peter-Test.xls
0
Comment
Question by:Patrick O'Dea
2 Comments
 
LVL 41

Accepted Solution

by:
als315 earned 1500 total points
ID: 39790319
Can you explain expected result of your macro:
Sub Start_Click()
'  ***************   what the problem ?  6661
Update.DTTo.Value = Date - 1
Update.DTFrom.Value = Date - 1
Update.DTFrom.Day = 1
Update.Show
End Sub

Update - your form, but I can't find fields DTTo and other there
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 39790346
Thanks for als315,

I am afraid that I cannot answer your question ..... as I have been asking the same one!

I did not develop the sheet ...... it is an old sheet that has been around for years....long story..
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

599 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