(apologies for the cross-post.. im not normally in the habit of such things)
SHORT VERSION (for smart people in a hurry):
I need some way to programmatically cause the update of calculated cells,
contained within an Excel OLE object that is embedded on a report in my
database
LONG VERSION (incase i cant write a sumamry to save my life):
I have an Excel spreadsheet embedded in a report. The sheet displays a cell
grid of the current month, and after much messing around, managed to get it
to render the month on a 5-week basis, starting the cells on the correct day
and shading out any days not in the month (so for october 2003 that starts
on a wednesday, MON and TUE on the grid are shaded in..)
it's for employye time sheets kinda thing..
anyways.. it all hinges on the update of just one cell.. The top left of the
sheet contains a cell with the formula:
=DATE( YEAR(TODAY()), MONTH(TODAY()), 1 )
However, this cell (and all otehr calculated cells) are not recalculated
every time the report is run, but on some sort of whimsical basis depending
on if the OLE is Opened, saved, and the changes to the design of the report
are saved.
Is there any way i can programmatically cause the sheet to run an update
(something similar to the "Update Fields" function of a word document)?
I dont even mind if the user has to press a key, as i can tell them to do
that 2 4266
i should have mentioned additionally, that the Excel sheet is an "Unbound
Object Frame" called 'OLEUnbound8' .. whatever this means, in terms of
referencing (i'm an after-creation maintainer of the database)
cheers
matt
Check online help for UpdateOptions. Does that help?
HTH,
TC
matt <cj***@hotmail.com> wrote in message
news:bl**********@hercules.btinternet.com... (apologies for the cross-post.. im not normally in the habit of such
things)
SHORT VERSION (for smart people in a hurry):
I need some way to programmatically cause the update of calculated cells, contained within an Excel OLE object that is embedded on a report in my database LONG VERSION (incase i cant write a sumamry to save my life):
I have an Excel spreadsheet embedded in a report. The sheet displays a
cell grid of the current month, and after much messing around, managed to get
it to render the month on a 5-week basis, starting the cells on the correct
day and shading out any days not in the month (so for october 2003 that starts on a wednesday, MON and TUE on the grid are shaded in..) it's for employye time sheets kinda thing..
anyways.. it all hinges on the update of just one cell.. The top left of
the sheet contains a cell with the formula:
=DATE( YEAR(TODAY()), MONTH(TODAY()), 1 )
However, this cell (and all otehr calculated cells) are not recalculated every time the report is run, but on some sort of whimsical basis
depending on if the OLE is Opened, saved, and the changes to the design of the
report are saved.
Is there any way i can programmatically cause the sheet to run an update (something similar to the "Update Fields" function of a word document)? I dont even mind if the user has to press a key, as i can tell them to do that
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Miguel Orrego |
last post by:
Hi,
Does anybody know some code that opens a spreadsheet in excel rather than
the browser? If possible something that can be used with response.redirect,
however this isn't essential. I have a...
|
by: hari krishna |
last post by:
hi,
I want to send the data from dataset information to Excel through ASP.Net.
there will be no XL installed on web server. web server is win 2000 server
machine. I am using visual basic code in...
|
by: John |
last post by:
Help me please,
I'm creating an excel crystal report.
The problem is that it is opening in the browser instead of in its own page.
I have done this many times and it had worked just fine.
I think...
|
by: Jacob.Bruxer |
last post by:
Hi everyone,
I'm having trouble opening space delimited textfiles in Excel from
Visual Basic.net. I'm able to control, open and modify Excel files
from Visual Basic, so my Excel reference seems...
|
by: Mad Scientist Jr |
last post by:
>From an asp.net web page I want the user to open the results of a SQL
query in Excel, as automatically as possible (ie not having to loop
through columns, rows, in code).
For this,...
|
by: Sajit |
last post by:
I am trying to use an Excel file as a
template for an Access report. I Linked
the Excel file through an unbound frame as
an OLE object with the properties set as
follows:
Source Doc...
|
by: Paul H |
last post by:
I have a transactions table and a balance table that look something
like this:
tblTransactions
TransactionID (PK Autonumber)
ClientID
TransactionDate
TransactionAmount (currency field, values...
|
by: mohitpande |
last post by:
i am using windows 2003 server and iis 5.1 for hosting my web application
and windows xp as client OS
i ahv excel reports in my web application which are not opening in client machine
i hav...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |