A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Export ActiveX text box powerpoint text to excel?



 
 
Thread Tools Display Modes
  #1  
Old July 10th, 2008, 05:00 PM posted to microsoft.public.powerpoint
greenguy
external usenet poster
 
Posts: 3
Default Export ActiveX text box powerpoint text to excel?

I am creating a powerpoint presentation to serve as an interactive product
catalogue that can be used at my company. I am trying to create an ActiveX
text box and a an additional button for someone to input information into the
text box and click some sort of marco-ed submit button and have the text
information sent to either a text file as a comma-delimited entry or to an
excel spreadsheet. Is it possible? Also, is there a way to clear out the
information in the text box after it has been entered so that someone new can
input their information? Also, is there a way for all of this to happen so
that successive entries do not overwrite in the text or excel file? I know
that is alot to handle but any help would be greatly appreciated.

  #2  
Old July 10th, 2008, 08:46 PM posted to microsoft.public.powerpoint
Steve Rindsberg
external usenet poster
 
Posts: 9,366
Default Export ActiveX text box powerpoint text to excel?

In article , Greenguy wrote:
I am creating a powerpoint presentation to serve as an interactive product
catalogue that can be used at my company. I am trying to create an ActiveX
text box and a an additional button for someone to input information into the
text box and click some sort of marco-ed submit button and have the text
information sent to either a text file as a comma-delimited entry or to an
excel spreadsheet. Is it possible? Also, is there a way to clear out the
information in the text box after it has been entered so that someone new can
input their information? Also, is there a way for all of this to happen so
that successive entries do not overwrite in the text or excel file? I know
that is alot to handle but any help would be greatly appreciated.


It's all quite possible and probably not all that complicated, especially since
you've obviously thought out what you want in detail.

Here are the building blocks you'll need:

General-purpose routine for writing a string to a text file
http://www.pptfaq.com/FAQ00514.htm

You'll need to cobble the strings together into a properly formatted CSV string
before adding it to the file, of course, but that's just a matter of:

FinalString = Chr$(34) & StringOne & Chr$(34) & "," & Chr$(34) & StringTwo ...
etc

Here's some example code for manipulating the text in a text box.
To clear it, simply set the text to ""



-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================


 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:00 PM.


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