vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 11-03-2007, 02:16 PM
nlsmike nlsmike is offline
No Limit Commish
 
Join Date: Oct 2007
Posts: 34
Default Excel File into Module

Just wondering if there is way to insert a table into a module easily. I really would like to put in an excel table into the module. Any help would be appreciated. Thanks Mike
Reply With Quote
  #2  
Old 11-04-2007, 12:50 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Excel File into Module

You can add a new template module and format your table and contents manaully.
Reply With Quote
  #3  
Old 11-08-2007, 11:15 AM
nlsmike nlsmike is offline
No Limit Commish
 
Join Date: Oct 2007
Posts: 34
Default Re: Excel File into Module

I have looked around for instructions on how to use the template modules but I can not seem to find it.
Reply With Quote
  #4  
Old 11-08-2007, 01:27 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Excel File into Module

Just go to Admin CP => vBa CMPS => Add Module => Template Module, and fill in the blanks there.
Reply With Quote
  #5  
Old 11-08-2007, 01:31 PM
nlsmike nlsmike is offline
No Limit Commish
 
Join Date: Oct 2007
Posts: 34
Default Re: Excel File into Module

I have got that far but I am confused on how this is going to help me put in an excel file.
Reply With Quote
  #6  
Old 11-08-2007, 01:35 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Excel File into Module

Sorry if I wasn't clear enough before, but you're not going to be able to use an Excel file as a module. You would need to format the table manually using HTML code instead.
Reply With Quote
  #7  
Old 11-08-2007, 01:36 PM
nlsmike nlsmike is offline
No Limit Commish
 
Join Date: Oct 2007
Posts: 34
Default Re: Excel File into Module

Ahhh Ok thats what I wanted to know. Thanks for that info.
Reply With Quote
  #8  
Old 11-08-2007, 02:50 PM
nlsmike nlsmike is offline
No Limit Commish
 
Join Date: Oct 2007
Posts: 34
Default Re: Excel File into Module

Alright I have this all worked out now but my page is not coming up properly. Can anyone help? here is the page: http://nolimitsportsline.com/index.php?pageid=AEAST
that big space above "tester" module is not supposed to be there.
Reply With Quote
  #9  
Old 11-09-2007, 11:15 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Excel File into Module

Looks like there's quite a few errors in the coding for that page, one (or more) of which is probably causing the problem.

http://validator.w3.org/check?uri=ht...e&group=0&ss=1
Reply With Quote
  #10  
Old 11-09-2007, 11:18 AM
nlsmike nlsmike is offline
No Limit Commish
 
Join Date: Oct 2007
Posts: 34
Default Re: Excel File into Module

Thats the code I got from excel after I created the page. I just need to create an easy way to import information into a table like that one. Its a pain to do that every week code wise when you get the info from someone else. Ahhh well looks like I am going to have to do it the long way from now on
Reply With Quote
  #11  
Old 11-09-2007, 11:31 AM
bobster65 bobster65 is offline
Senior Member
 
Join Date: Mar 2006
Posts: 587
Default Re: Excel File into Module

Quote:
Originally Posted by nlsmike View Post
Thats the code I got from excel after I created the page. I just need to create an easy way to import information into a table like that one. Its a pain to do that every week code wise when you get the info from someone else. Ahhh well looks like I am going to have to do it the long way from now on
export the data from the excel spreadsheet in a comma delimited file, then import that data into a table(s) in a database on your server (would be easiest to just use the vB DB and add a table(s)..) then write some simple code to pull the data from the DB Table(s) to form the HTML Table layout that you are looking to display. Its a pretty simple basic project for a coder to start off with. Then all you have to do to update is export from excel and import into the DB. You can even create a script that all you have to do from the ACP is click on upload excel file and the system does it for you (of course, this is more advanced lol) ...

Anyway dude.. it is a rather simple process that most people would tend to make a Mountain out of a Mole hill over.
Reply With Quote
  #12  
Old 11-09-2007, 11:33 AM
nlsmike nlsmike is offline
No Limit Commish
 
Join Date: Oct 2007
Posts: 34
Default Re: Excel File into Module

Yeah and I think the way you described it makes it sound hard. I wish I was not so new with this stuff. Do not know very much about it. Thanks for taking the time to help though.
Reply With Quote
  #13  
Old 11-09-2007, 11:39 AM
bobster65 bobster65 is offline
Senior Member
 
Join Date: Mar 2006
Posts: 587
Default Re: Excel File into Module

Quote:
Originally Posted by nlsmike View Post
Yeah and I think the way you described it makes it sound hard. I wish I was not so new with this stuff. Do not know very much about it. Thanks for taking the time to help though.
Its not hard tho... thats the thing.. it may sound hard, but its not. Hard is doing it manually lol .. If you get burned out doing the manual thing, a system can be built for you pretty easily.
Reply With Quote
  #14  
Old 03-27-2008, 11:02 AM
nlsmike nlsmike is offline
No Limit Commish
 
Join Date: Oct 2007
Posts: 34
Default Re: Excel File into Module

Quote:
Originally Posted by bobster65 View Post
export the data from the excel spreadsheet in a comma delimited file, then import that data into a table(s) in a database on your server (would be easiest to just use the vB DB and add a table(s)..) then write some simple code to pull the data from the DB Table(s) to form the HTML Table layout that you are looking to display. Its a pretty simple basic project for a coder to start off with. Then all you have to do to update is export from excel and import into the DB. You can even create a script that all you have to do from the ACP is click on upload excel file and the system does it for you (of course, this is more advanced lol) ...

Anyway dude.. it is a rather simple process that most people would tend to make a Mountain out of a Mole hill over.
Been awhile but I am back into getting this together soon. Anyway you can help me with this?
Reply With Quote
  #15  
Old 11-19-2012, 05:40 AM
garcia garcia is offline
Junior Member
 
Join Date: Nov 2012
Posts: 4
Default

I just wanna say excel is so powerful, i think some good resource and suggestion can be found online.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add a excel page? ninjashadow360 "How Do I..." Questions 3 11-26-2012 08:38 PM
Problems with PHP file module/page (not a vb/vba file) neverstop Module & Modification Discussion & Requests 0 10-12-2007 07:11 PM
Removing a specific sheet from a loop in Excel sibo32000 Troubleshooting & Problems 1 02-09-2007 04:14 PM
Tutorial: Links in Excel to DB phoenixdown "How Do I..." Questions 3 05-29-2006 02:13 PM


All times are GMT -4. The time now is 02:56 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.