Excel Properties

I am in need of knowledge about how to control the properties. By properties, I mean font, hyperlink, and color information. I'd like the spreadsheet to have the same data as the HTML page it's getting the data from, but in a different format.

I have been searching in several places, including the Excel Help files, but cannot find any info on how to do this. I'm not asking anyone to tell me how to do this; just looking for where to find out how to do this.

View Replies


ADVERTISEMENT

Excel Cell Properties

Is it possible to set a cell property in Excel from an ASP page. We have numerical data that is taken from a database and then displayed in Excel. I would like ideally all the data to be set at 2 decimal places, is there anyway of setting this from the ASP page?

View Replies View Related

Image Properties: How To Get,

I am wondering if it is possible to get more information on files then just
name, date, size etc..

Specific, I want to know what dimension (x and y pixels) an images has.

Can this be done by ASP. Do I need a component? Are there free components
out there?

View Replies View Related

Retrieving Url Properties

Is there a way in asp to retrieve part of the URL and use it

say the url was

http://localhost/site/craig

is there anyway of retrieving the word craig so to use it in the page

This is because i could have other addresses that are for example

http://localhost/site/Jon

where i need to retrieve the word jon

View Replies View Related

Retrieving Properties

How to retrieve "Last modified" & "FileName" from all files in a specific folder (called MyDocs) and display on the ASP page?

eg. (in MyDocs folder)
- MikesWork.doc
- MyResume.xls
- HouseExpenses.xls

Situation
Let's assume that i just modified MyResume.xls file and save it today(10/30/2003) on my computer, then i upload it into the internet. On my asp page, i want to show all files Filename (Last Modified) in MyDocs folder.
eg.
Your Documents
1. MikesWork.doc (last modified 10/24/2003)
2. MyResume.xls (last modified 10/30/2003)
3. HouseExpenses.xls (last modified 9/15/2003)

I know it has to do with fso or something close to it... but totally have no idea (zero) of its logic or how it works. Please help me by giving me with full example.

View Replies View Related

Field Properties

Can anyone help with the following:
I wrote an ASP script with allows me to select an MS Access database
from a folder, and it shows the tables in this database. If I click a
table, the fields are displayed. And then I have a button to create a
HTML form to suit this table.
My problem is, fields that are essential.I would like to mark
appropriate form fields as 'essential' . Is there any way I can get the
attributes of a field, so I know if it will accept null values?

View Replies View Related

Object Properties

Is there any way to list all the properties that an object has? For example if I do a CDO.Message object and call it NewMail. Is there anyway I can find the properties of that the object supports. IE NewMail.From, NewMail.To etc

View Replies View Related

File Properties

I want to ask are there any other ways to get the file properties such as file name, path, date created... other than using 1. FileSystemObject or 2. file upload with encType="multipart/form-data".

For FileSystemObject, I can get it work in my local computer but not on the server(coz the server are not mapped to the network drive).

And for case 2, although I can use HTTP_CONTENT_TYPE to retrieve form values but I think I cannot use request.form("aa").count or request.form("aa").item(i) to get select option values.

View Replies View Related

Page Properties

I ve probably a very simple question but i really can't find an answer. I d like to know in an ASP page what is the URL of the page, the full URL invoked by the client to get the page. I looked in the server object but i did not find.

View Replies View Related

Transaction DDL Properties

According to Access my ADO connection has a value of 16 for the Transaction DDL property. Does anyone know what this equates to? I've found this page -

http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/adosql/adoprg04_83jt.asp

But it doesn't tell me which constant this relates too, and I haven't been able to find an answer at Google either.

View Replies View Related

Validate: Formobj Has No Properties

i am getting this error message when i validate my page and it is

Error: formobj has no properties
Source File: /sellgiftnum.asp?
Line: 55

and line 55 is this one
var obj = formobj.elements[fieldRequired[i]];

Can someone tell me whats wrong with it .....

View Replies View Related

Gathering Image Properties

I've uploaded an image to the server and was wondering if there is any possible way to get the dimensions of the image through ASP.

dim iWidth, iHeight, iType
sub ImgDimension(img)
dim myImg, fs
Set fs= CreateObject("Scripting.FileSystemObject")
if not fs.fileExists(img) then exit sub
set myImg = loadpicture(img)
iWidth = round(myImg.width / 26.4583)
iHeight = round(myImg.height / 26.4583)


but I keep getting problems with the loadpicture.

View Replies View Related

Drawing Page Properties

Is it possible to grab the title of the page and echo it somewhere in your asp document? Does ASP have a premade variable to grab this?

View Replies View Related

Retrieving Field Properties

How can I retrieve the default value and allowzerolength property of all the fields in my table? I'm using ADO.

View Replies View Related

Accesing Office Document Properties With ASP

Does anyone know of a way to access the document properties of an office
document using ASP? I need to be able to read things like the Title,
Author, and Comments fields and pull that information into a web page.

View Replies View Related

How To Assign Object Properties From XML Content?

Before there was XML my world was in order, I would once a year write some small ASP script, it would perhaps take me all weekend, but it was doable, now the devil has entered my life, in form of an XML file ... Code:

View Replies View Related

Setting Session Cookie's Properties

I want to set the asp session id path property. How can I do that?

I mean, asp session id is stored in a cookie and like any other cookie it should have properties (or attributes), how can I control it?

View Replies View Related

Header Properties In The Crystal Reports Viewer.

I want to dislay a query from a database in asp, with the crystal reports viewer.

i can see the report in the CR viewer, but the headings are overlapping each other.

what kind of properties do you have for the report header? Or does somebody know the
sollution? Code:

View Replies View Related

Error - ODBC Driver Does Not Support The Requested Properties.

I am taking my first crack at writing some ASP and have no clue as to what this error is pertaining to. I will be in your perverbial debt for ever!

----------------------------------------------------------------------------

The error I am getting is:

Microsoft OLE DB Provider for ODBC Drivers error '80040e21'

ODBC driver does not support the requested properties.

/agentlookup.asp, line 8

-----------------------------------------------------------------------------

And here is the code it is referencing: Code:

View Replies View Related

File Properties :: Find Out The Width And Height Of An Image File

is there a way, using asp, to find out the width and height of an image file?

View Replies View Related

Upload File To Server And Get File Properties

I would like to add a facility to my web page which allows users to upload basic files (word, excel, text, gif, jpg etc) to the server.

I know there's a facility to do this using HMTL forms, but I don't know how to handle the file on the server side.

What I think I need is an ASP file running some code to manipulate the filesystemobject, allowing me to receive the file and store it in the filesystem on the server. It would be nice to access some of the file properties too (name, type etc).

I've seen a few custom components online which allow you to do this, but I can't depend on installing them. I need to be able to script it myself.

View Replies View Related

ASP Excel

I want to give Excel facility into the the Browser for the user and after that I need to insert all the Excel data into the SQL Database table.

View Replies View Related

Asp Excel

i have a project i am currently working on, basically what i am doing is i have an excel spreadsheet with 2 fields a number that coordinates with another field which is a url, currently i have to copy paste the url in my browser to get what i want, which is a picture, each url is a picture and picture only, what im trying to do is create an asp web app that i can use that spreadsheet connect using asp and automatically download every url in the spreadsheet to a directory, while also renaming all the pics as the first field.jpg,so basically an asp downloader that downloads contents of url and renames it a certain number

View Replies View Related

Asp & Excel

I've an asp page which brings back a query and displays it in a table. The
query takes around 30 seconds. Once the page displays they will have an
option to send it to excel.

From the examples I've seen they all require the
query to be re-ran again in asp (i.e. server side scripting) and as it takes
30 seconds to start with I want to try and take out the repeat of the query.
Does anyone know of any way you can do this in asp by passing the already
executed table to asp or via any other method?

View Replies View Related

How I Can Get Value From Ms Excel

I want to access the data contained in the MS excel by giving a field value that has to be got from one HTML file including a textbox and one button -SUBMIT to submit the required field value. Finally i want to display the details of that particular field value which is recieved from the first file in HTML. Is it possible ?

View Replies View Related

ASP IN EXCEL

I have an ASP file which is opened in MS Excel.
I have used the "formatNumber" function to set the number
of decimals for variables which are displayed.
however Excel cuts off any zeros at the end.
e.g 4.650 displays as 4.65

the number of decimals I want to display to varies across
the page, e.g. I cant say "display the whole with 3
decimal places"
Is there any code I can put in my ASP page to stop Excel
truncating zeros at the end?

View Replies View Related

Ms Excel

i have a Print button to allow user to save reservation detail in ms excel. currently, when user clicks Print, a Save menu which allow user to open and save will appear. how can i skip this window? i want my system automatically open ms excel and at the same time open the Print window in ms excel and user also cannot modify any detail in ms excel. is it posible to that?

View Replies View Related

ASP -> Excel

I'm working on some reports, and have added the ability to
"download" the reports to excel. Not a big deal, fairly straight forward.
However, PHB wants to be able to create some pivot tables from said reports
(again.. no biggie) and when he goes to save the file, Excel wants to save
the file as a web page instead of and Excel spreadsheet.

Now.. I know the simple thing here is to just pick Excel from the drop down
box in the save as dialog.. but.. PHB would "prefer" to not have to do that.

Has anyone been able to jump this hurdle before? My good friend google
hasn't turned anything up. My preference is to give PHB the middle finger..
but alas.. the paycheck is keeping me from doing that.

View Replies View Related

Excel.inc?

is there somewhere a file that holds constants for Excel Automation
ActiveX objects, such as adovbs.inc for ADO constants?

View Replies View Related

Asp To Excel And Pdf.

I have an asp, sql business application. Want to give export option of all
reports to excel and pdf. Can I get that code which can embedd in the asp
pages to create this function?

View Replies View Related

Excel/SQL

I need on-site manager's to be able to view a list of records on our website
(which they already can do). They need to be able to select any/all fields
and then export these items to an excel spreadsheet. The spreadsheet will
have dynamically created columns/rows to append and life is good.

What's the best way to go about this? I've used DTS to do this before, but
it's been a long time and I can't remember if there's a way to handle this
kind of stuff on a dynamic basis.

I guess my real question is: Is there a way to do this via ASP or should I
stick with a more SQL based approach?

View Replies View Related

Vnd.ms-excel

Is it possible to copy all info on a page into excel so that it can be sorted?? I know how to get the page to load automatically into excel, using the -:
Code:


<%
response.contentType = "application/vnd.ms-excel"
%>


however I lose some functionality if I do this, i know i could add a button that just re-runs the pages to load the info into excel, however some of the pages may take a while and I want to reduce time and load on the server. So I justed would like to know if it is possible using a script of somesort so that clicking a button will copy the whole page and then paste it into excel??

View Replies View Related

Excel Fi

I need to write an ASP page that will allow users to upload an Excel file,
the contents of which should then be imported into an SQL database.
Problem I am facing is how to do this efficiently. So far I have a page
that
will accept an upload, then display the data from the Excel file, my first
thought was to loop each row, then run an update/insert based on the data
found...Obviously this is not going to be very efficient, I'd exepect time
outs often
Has anyone got any ideas to get round this?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved