LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
DP DP is offline
external usenet poster
 
Posts: 58
Default Using Excel Library

Hi everyone:

I am tring to develop a product in MS Access. I have a query that uses VBA
programing to open an excel sheet and export data to it.

It works fine, except I would like to do some formatting like underlines and
bold and unfortunately I am getting application defined errors.

xlc.TextEffect.FontBold = True

I have not included the Excel 11 library in the reference, I am sure there
is where the goodies are, however, I am affaid if the user has a lower
version of Office what will occur, will it throw an error.

I have just called my objects in VBA like this to make it simple

Set xlx = CreateObject("Excel.Application")

Does anybody have any experience with this?

Thanks





 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Library in Excel Line Nissen Excel Discussion (Misc queries) 1 March 4th 10 01:24 PM
Excel Library not registered. Kart Excel Discussion (Misc queries) 0 February 17th 09 11:21 AM
Excel 11.0 Object Library Al Excel Programming 2 November 12th 04 04:32 PM
Reference Library - Missing Library in a lower version. luvgreen Excel Programming 1 October 7th 04 02:08 AM
Excel Library Henning Eiben Excel Programming 6 October 6th 04 10:04 AM


All times are GMT +1. The time now is 06:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"