Hi Roy,
That explanation works. I was also looking for how to simulate the keystrokes of Control + Alt + F5 but found:
Which seems to do the trick. I have created a button that will Refresh the Query, and then transfers the days current closing values. The problem that I am having is that updating the quesry takes some time, and the values are copied before they can be updated. Hopefully that makes sense. I tried putting in a wait command
but that does not work. Do you have any idea on how to fix this?
On another note, I have tried to modify your code for the macro I reference above which I call CalculatePercentage. Basically, it takes the values from the previous column to find the percentage change from the day before (example (C4-C3)/C3). I am having some trouble with it, and I would greatly appreciate it if you could let me know what I am doing wrong. I have copied it below. I have also attached a dummy sheet if you dont understand what I am asking.
Finally, I am trying to create a table of contents page and I was following the suggestion on your website, by simply hyperlinking the worksheets. I am trying to go for a simplified document and hide the worksheets at the same time. If they are hidden, they cannot be hyperlinked. Is there a setting I missed, or do you have any suggestions on how to do a TOC in the way that I described?
Thanks for your patience and help. I hope I am not asking for too much.
Bookmarks