Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default Can you export comments?

I am using Excel 2007,

I have an Excel file with comments associated with certain cells. I also
have an Access database. Does anyone know if it is possible to somehow get
the comments in my Excel file exported or somehow brought into an Access
table?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Can you export comments?

Yes that is possible but it requires an good understanding of VBA. Oddly
enough I just finished doing the exact same thing sending the comments into
DB2. Here is a run down of how it is done.

Traverse through all of the cells with comments creating (on a seperate
sheet) a list of those comments including any necessary other info such as
the Author and ???. When you do this you will want to strip out the Line
Feeds that tend to get included in the comments.

Now you need an understading of ADODB recordsets. Connect to your data base
and open up your table. Add a new recordset and for each field in the
recordset add the corresponding comment value. Keep adding more recordsets
until all of the comments are done. Now just update the recordset and you are
done... I have some code but it is specific to my application so it will not
necessarily translate easily. That being said it is yours if you want it...
--
HTH...

Jim Thomlinson


"Woody" wrote:

I am using Excel 2007,

I have an Excel file with comments associated with certain cells. I also
have an Access database. Does anyone know if it is possible to somehow get
the comments in my Excel file exported or somehow brought into an Access
table?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Can you export comments?

Hi,

Just a suggestion - Might give him the code snippet since you just coded this?

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Jim Thomlinson" wrote:

Yes that is possible but it requires an good understanding of VBA. Oddly
enough I just finished doing the exact same thing sending the comments into
DB2. Here is a run down of how it is done.

Traverse through all of the cells with comments creating (on a seperate
sheet) a list of those comments including any necessary other info such as
the Author and ???. When you do this you will want to strip out the Line
Feeds that tend to get included in the comments.

Now you need an understading of ADODB recordsets. Connect to your data base
and open up your table. Add a new recordset and for each field in the
recordset add the corresponding comment value. Keep adding more recordsets
until all of the comments are done. Now just update the recordset and you are
done... I have some code but it is specific to my application so it will not
necessarily translate easily. That being said it is yours if you want it...
--
HTH...

Jim Thomlinson


"Woody" wrote:

I am using Excel 2007,

I have an Excel file with comments associated with certain cells. I also
have an Access database. Does anyone know if it is possible to somehow get
the comments in my Excel file exported or somehow brought into an Access
table?


Reply
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
Export excel comments to word Ali Excel Discussion (Misc queries) 4 July 23rd 08 03:18 PM
Comments, is there a way to export them? Mr BT[_3_] Excel Worksheet Functions 1 July 2nd 08 09:13 AM
How to export PDF comments into an Excel spreadsheet? qcCourseReviewer Excel Discussion (Misc queries) 0 April 1st 08 06:08 PM
Export comments to new column Aleks Excel Discussion (Misc queries) 1 November 3rd 05 05:04 PM
How do I export comments into another excel column as cell content Hernan Excel Worksheet Functions 1 February 25th 05 02:17 PM


All times are GMT +1. The time now is 05:20 AM.

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

About Us

"It's about Microsoft Excel"