HTML - Html To Open Excel Files
Is there a way to create names of reports and place in a list box or combo box and select the report and click a button to open the report?
I also have added a link to a file ( that would be on the server) for the user to open the file, but I click the hyperlink the file does not open. <a href="Attrition (2).doc">Attrition</a><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Similar TutorialsI had a weird experience today that I was hoping others might shed some light on. I emailed a person a link to a powerpoint pps file and it opened full screen as planned. I also placed that link on an intranet web page and it opened in 'edit' mode. How come? Is there something I'm missing on code necessary to ensure the same URL opens properly and in full screen mode ???? The link was very similar to this where page code is concerned... <dd><li><a href="http://mail.yahoo.com/?.intl=us" TARGET="_top">Yahoo Email</a><p> Might it have something to do with 'target' ??? TIA Hi to all I have a question , sorry for my English. I want to Make a page that can open local video files in windows default player with the <a HREF="movie.avi"> tag , without downloading the video file (because the video files are in my local disk).I use wamp server program to work as a server.I have tried to do it but it keeps downloading the video files and it trEats them like their are not local.the options that it gives me is to open it or download it I choose to open it but it stills download it. so far i've created the calendar.html that contains the layout and the events.html from excel and i'd like to know the code or how to LINK the events.html into the calendar.html file rather than copy/pasting the enter code within the events.html file everytime so whenever i update the events.html i don't have to go into the calendar.html to update the codes, i can just replace the events.html file and woolah! when i save the excel file i can choose to save it as a webpage but then that's 2 html files, i'm just trying to get the table inside the calendar.html while keeping the layout and ease of being able to create it within excel thanks a bunch, TIA Hi everyone, Unfortunately a database is and .NET is out fo the question. The application is limited to HTML / JS only. I am creating a form that will search these accounts for amounts greater than $X. For ease of editing and the end user, the account numbers are stored on an Excel sheet. How would I reference the spreadsheet and cell range in HTML to allow querying on these account numbers? This is what I had so far in my attempts of searching and trying to piece together this segment. Code: <head> <SCRIPT> function openwb() { var Excel; Excel = new ActiveXObject("Excel.Application"); Excel.Visible = false; form1.my_textarea2.value = Excel.Workbooks.Open("C:/Sean/HTML/account_numbers.xls").ActiveSheet.Cells(1,1).Value; Excel.Quit(); } </SCRIPT> </head> <body> <tr> <td width="200" > <p align=right><font face="Times New Roman" size="3">Account Number</font> </td> <td> <SELECT name=OBOperKey_51_1> <OPTION selected>AND</OPTION><OPTION>OR</OPTION></SELECT> </td> </p> <td> <INPUT type="hidden" name=OBOperKey_51_1 onFocus="openwb();" value="Get Excel Data"> </td> </tr> </body> Hey, I'm wondering how to easily convert Excel documents into HTML, so that i can open them up in notepad/text edit. I read this article (http://www.granneman.com/webdev/codi...texceltotables) which says to save the excel document as a CSV file, then when using dreamweaver you can import that into a tabular form. Is there a way of doing this without using dreamweaver? I don't necessarily mean that it will be converted into straight HTML <table><tr> etc, but just so it's easily editable. When i open the CSV file in notepad i get a bunch of commas like this: ,,,,, ,,,,, ,,,,, Does anyone know how to do this in the most efficiently quick way? Either using notepad or text edit. Thanks I require to output html to excel( right click on html table and option "export to MS excel" ) and getting following error. "unable to open "html path". Cannot download the information you requested. I am using MS EXCEL 2007. any workaround is greatly appreciated. Thanks Al Hello all! New to the forum here, so smack me into shape if i step outside of the rules... Have recently been attempting to maintain a (very basic) website for my parent's cottage. I aimed to keep it low maintenance in order to allow me not to have to do too much to it! The address is http://www.bettwsbach.co.uk Recently, i've been attempting to add a new 2009 price list to the website, which has come to me in the form of an excel spreadsheet. Here's how it should look: http://www.bettwsbach.co.uk/Misc/BBPrice.jpg I've used Excel's in-house save-to-webpage feature, and with a bit of jiggery-pokery to make the background come up (!!) here's how it appears as part of a frameset on my mac: http://www.bettwsbach.co.uk/Misc/BBPriceMac.jpg HOWEVER! I'm reliably informed that on various computers, the formatting gets pretty screwed. If you have time, go through the link to the website above, click on 2009 prices, and see if it's legible. I can only think it might be a browser-related issue (i'm on firefox), or perhaps a resolution issue - maybe the page is trying to sort its own sizing out for each computer. Either way, you can see that the formatting changes markedly between Excel and the HTM page it pushes out. So i guess my questions a 1) Anyone come across this before? Any idea why it's messing me around? 2) Any idea how to make it better? 3) Is there a better solution to the webpage (i.e., not using Excel altogether) that i've inadvertently disregarded? Bear in mind the whole thing has been put together by me and notepad, and i've had to teach myself HTML, with very little time dedicated to the running of the website. Many thanks in advance. Rob Hello, I am new here, name is Eric and I have a quick question in hopes someone can point me in the right direction. I am trying to make a web page that acts as a quick quote site for potential clients. Pretty much all it's going to do is use a formula like Excel does to take a number a client inputs into a field and times it by another number to give you a quote...will be a couple other fields that the client will input to get a more accurate number...but same idea throughout the page just different formulas. I have been using Zoho which embeds a Excel spread sheet, but problem is...it looks like an excel spreadsheet. I am trying to do the same functions but I would like to make it more appealing then just an excel spreadsheet. I would like to just use fields and make the site clean and look noting like a spreadsheet but still use the formulas that excel allows you to use. I would appreciate any help on the topic. Thanks in advance! -Tilly I am trying to figure out how to send information that people submit on an internet website, from the website to an excel worksheet. Reason being I no longer want to do the "grunt work" for a fellow employee of mine. Any help would be great! Hello, Sam here. Hope we are doing great. The sole reason i joined this forum is to learn more about HTML < Obvious. I am working on a code which requires me to convert a static html form data feeded/recorded by a user to save to a excel file. i have seen many examples of this using jscript or vbscript. Can someone walk me through this. e.g. html form contains 2 feilds name and place and a submit button. when you click submit button i want the values in the feilds say f1 and f2 to be saved to excel rows. Again i make changes to name and place and hit submit i need the same file appended with the next set of values by user. i appreciate your help. please comment on all functions or calls which saves form data to excel. I am ok with html not this stuff. Regards, Sam What would I need to add to a form in HTML to have it saved to an Excel Document when it is submitted? I want each <input type="text"/> to be put on the same line, then the next person to fill out the form goes on the next line. This is what I have so far, and I have no idea how to get it to link with an Excel Document. <html> <head> <title>Please Sign In</title> </head> <body> <h2>Please Sign In</h2> <form> Name: <input type="text" name="name" value="" size="20"/><br/> Date: <input type="text" name="date" value="" size="20"/><br/> <input type="radio" name="inout" id="in"/> In <br/> <input type="radio" name="inout" id="out"/> Out <br/> <input type="submit" value="Submit" size="20"/> </form> </body> </html> For the radio buttons, would it be possible to have an In column and an Out column in the excel sheet and whichever is selected would put an X in that column? Thanks in advance for any help. Hi Folks, I am new at HTML and presently trying to build an html table whose cells react like excel ones. That is to say: - If I click into a cell, then its border should become bold and thicker -If I enter text into a cell and the text overflows the given length, then a linebreak should automatically added and the cell should become higher Somebody told me that one can perform such a task with html and css. Is it true? Does somebody what I shoud combinate with Html in order to perform such a task? Regards, Bu Hello! I'm new in this forum and this is my first post so if I'm doing something wrong please forgive me. Question: In TXT file I have HTML code and I want open that TXT file in frame as an HTML file. Is it possible and if it is then mybe someone can show me an example? P.S. Sorry if it is stupid question I'm new with HTML coding and also sorry for my not perfect English grammar. Hi guys, I have made a flash button and added the following code so that when the button is pressed it takes me to a URL. I want to add/change it so that it doesnt open a new page when clicked, i want it to load the new page from the page im currently on if you know what i mean.... on (release) { getURL("http://www.example.com/", "_blank"); } Thanks in advance... Hello, I need some help to get a HTML file to load from a PHP file. I got a host who cannot use files from PHP, only from HTML and then PHP, so can someone help me to get the register.php to load from a html file? If this is possible I would be thankfull CODE: Code: <?php ################# # # # # # Enjoy! # # # # # ################# include("config.php"); error_reporting(E_ALL ^ E_NOTICE); session_start(); $msg = Array(); $error = Array(); function addUser(){ if (empty($_POST)) return false; global $config, $msg, $error; if (empty($_POST['login'])) $error[] = 'Error, You forgot to enter a account name!'; if (empty($_POST['password'][0]) || empty($_POST['password'][1])) $error[] = 'Error, You forgot to enter a password!'; if ($_POST['password'][0] !== $_POST['password'][1]) $error[] = 'Password does not match!'; if (empty($_POST['email'])) $error[] = 'Please fill in a valid email adress!'; if (!empty($error)) return false; $db = @mysql_connect($config['mysql_host'], $config['mysql_user'], $config['mysql_pass']); if (!$db) return $error[] = 'Database: '.mysql_error(); if (!@mysql_select_db($config['mysql_dbname'], $db)) return $error[] = 'Database: '.mysql_error(); $query = "SELECT `acct` FROM `accounts` WHERE `login` = '".mysql_real_escape_string($_POST['login'])."'"; $res = mysql_query($query, $db); if (!$res) return $error[] = 'Database: '.mysql_error(); if (mysql_num_rows($res) > 0) return $error[] = 'Username already in use.'; //Modified by Jerq $query = "INSERT INTO `accounts` (`login`,`password`,`lastip`, `flags`) VALUES ('".mysql_real_escape_string($_POST['login'])."', '".mysql_real_escape_string($_POST['password'][0])."', '".$_SERVER['REMOTE_ADDR']."','".mysql_real_escape_string($_POST['tbc'][0])."')"; //Modified by Jerq $res = mysql_query($query, $db); if (!$res) return $error[] = 'Database: '.mysql_error(); $msg[] = 'The Account <span style="color:#00FF00"><strong>'.htmlentities($_POST['login']).'</strong></span> has been created!'; mysql_close($db); return true; } { addUser(); } ?> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Account Registration Page</title> <meta http-equiv="Pragma" content="no-cache"/> <meta http-equiv="Cache-Control" content="no-cache"/> <style type="text/css" media="screen">@import url(server_stats.css);</style> <!--[if lt IE 7.]> <script defer type="text/javascript" src="pngfix.js"></script> <![endif]--> </head> <body> <center> <div class="logo"></div> <div style="width:300px"> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <table width="100%" border="0" cellspacing="1" cellpadding="3"> <tr class="head"><th colspan="2">Account Creation</th></tr> <tr> <th>Username: </th><td align="center"><input class="button" type="text" name="login" size="30" maxlength="16"/></td> </tr> <tr> <th>Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td> </tr> <tr> <th>Retype Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td> </tr> <tr> <th>E-mail: </th><td align="center"><input class="button" type="text" name="email" size="30" maxlength="30"/></td> </tr> <!--Added by Jerq--> <th>Account Type:</th><td align="center"> <select name="tbc" type="select"> <option value="0">Normal</option> <option selected value="8">Burning Crusade</option> </select></td> <!--Added By Jerq--> </table> <input type="button" class="button" value="Back" onClick="history.go(-1)" /> <input type="submit" value="Create" class="button"/> </form> <?php if (!empty($error)){ echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td class="error" align="center">'; foreach($error as $text) echo $text.'</br>'; echo '</td></tr></table>'; }; if (!empty($msg)){ echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td align="center">'; foreach($msg as $text) echo $text.'</br>'; echo '</td></tr></table>'; exit(); }; ?> </div> </center> </body> </html> THE CONFIG.PHP: Code: <?php ################# # # # # # Enjoy! # # # # # ################# $config['mysql_host'] = 'wowserver.serveftp.com'; //MySQL Host $config['mysql_user'] = 'root'; //MySQL Username $config['mysql_pass'] = 'wHoSYoURDaDy65'; //MySQL Password $config['mysql_dbname'] = 'antrix'; //Database Name ?> I need to keep a html page open for ever on web server no matter who is login Is it possible? (do not ask the reason) Hello, You'll probably laugh at me but i have this code : <a target="_blank" alt="{image_name}" href="{media_src}"><img src="{media_src}" border="1" alt="{image_name} {"width="600" height="450"}></a><br /> What do i need to change in order that the new window will open up WITHOUT the address bar and all the buttons of the browser? Hey guys, I'm brand new to HTML and am teaching myself. I'm right in the middle of studying and have run into a problem. I've been working on my PC up until now but had to transition over to my Mac because it has Photoshop installed on it. I've been trying to open my HTML in Firefox but it isn't working. When I open with Firefox, all it does is bring Firefox to the front but doesn't open my HTML. I've done the same thing in Safari and it displays my code with no problem. Does anyone know what is causing this? Thanks in advance! Hi, Does anyone know how to link a local file and open up in your browser? I have tried <a href="file:///C:\TestFolder\test.xml" target="_blank">TEST FILE</a> But it doesn't work . Can anyone help me with this? Thanks , Geek.Shrek |