[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Find an adresse of a specifc value excel 2007

Posted on 2011-05-02
3
Medium Priority
?
197 Views
Last Modified: 2012-05-11
# 1 Hi, I am a trader and I need a VBA macro that I can find in the text
the information I need and this information must be in the right cell that contains the
response of the search as in the attached, I need the volume into cell c1. I try with the search tool
but only the cell selection and I have not written the result in a different cell. The reason why I need that is because the answer can be in another cell.

# 2 I need a cell with time hh:mm which refreshes every minute

Thank you a lots  expert.xlsx
0
Comment
Question by:sharkyboy
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
dlmille earned 2000 total points
ID: 35509862
1.  The Volume can be done with a Vlookup - no macro needed.

2.  on workbook open event the following sub is called

Sub refreshTimeOnSheet()
    Range("Time").Calculate
    Application.OnTime Now() + 60 / 86400, "RefreshTimeOnSheet"

End Sub

Will update your range "Time" in the worksheet - see yellow cell.

Enjoy!

Dave
Expert-r1.xls
0
 

Author Comment

by:sharkyboy
ID: 35509945
Wow Good job !!!
0
 
LVL 42

Expert Comment

by:dlmille
ID: 35509953
Please update to this code, or you'll run into problems.  I needed to stop the timer as well when you close the workbook, lol

Cheers,

Dave
Expert-r2.xls
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

834 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