Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 26th, 2011, 11:50 AM
Authorized User
 
Join Date: Aug 2011
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to create a table in Excel 2003?

Hi,

I need to create a table in Excel 2003 with the following format :

Name Address Age Email
Hari Downtown 30 hari@gmail.com

Can anyone please help me with this? - Thanks!

Justin
 
Old August 27th, 2011, 04:47 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

Can you please check ifhttp://vbadud.blogspot.com/2008/07/convert-range-to-listobject-using-excel.html is helpful

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old August 31st, 2011, 12:35 PM
Authorized User
 
Join Date: Aug 2011
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Smile

Thanks Shasur.. It did help...
I've also got another doubt... Guess I'll open another thread for it..

Regards
Justin
 
Old September 2nd, 2011, 12:41 PM
Registered User
 
Join Date: Jun 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default What is the purpose of...

In your example on your Blog Page, What is the reason for the Error Handler line:
Code:
IF Err <> 0
I am trying to write and error handler that gives me the Error Code & description. But if there is no error it still goes to handler and gives me an error code 0. I see that you entered this line to prevent that but why is it necessary?

What is err 0?
 
Old September 4th, 2011, 10:19 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Err stands for Err.Number, where Err is the error object.

You can write that explicity also if Err.Number <> 0. Whenever there is an error in runtime, this object gets populated.

The most commonly used properties of this object are Number and Description (as the name implies it provides a handy description)

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips &amp; Tricks (http://www.vbadud.blogspot.com)





Similar Threads
Thread Thread Starter Forum Replies Last Post
C# Excel 2000 and Excel 2003 DanRoche C# 2 March 4th, 2010 05:10 AM
#NAME? error running Excel 2003 VBA in Excel 2007 steveburn Excel VBA 0 October 24th, 2009 08:47 AM
Help! Conversion Excel 2003 VBA codes to Excel 2007 sunny76 BOOK: Excel 2007 VBA Programmer's Reference ISBN: 978-0-470-04643-2 0 August 13th, 2009 05:38 AM
Edit Access Table in Excel (2003) kewldude_3001 Access 0 April 10th, 2008 02:26 PM
Create generic XSL Template to create table Venkatachalapathy XSLT 5 March 11th, 2008 07:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.