Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-09-2016, 05:36 AM
Martijn6134 Martijn6134 is offline VBA Powerpoint Macros: Set String in one Macro, use it in another Windows 7 64bit VBA Powerpoint Macros: Set String in one Macro, use it in another Office 2010 64bit
Novice
VBA Powerpoint Macros: Set String in one Macro, use it in another
 
Join Date: Nov 2016
Posts: 1
Martijn6134 is on a distinguished road
Default VBA Powerpoint Macros: Set String in one Macro, use it in another

I'm trying to create a Macro in Powerpoint so that when a list of certain items is presented, I can select a few of those and then use that information in a different macro to automatically place a picture in a Powerpoint for each item selected.
I already managed to get the second part done, so placing the pictures in the powerpoint is no problem.
My problem lays with the selecting part. The way I figured to do it is to create a macro for each item in the list so for example the list is:


- Bed
- Bug
- Bath
- Broom
In front of each item I want to place a square which when clicked upon would be ticked off and sets a string to a certain value so if you would click on the box of 'Bed' it would put a tick in that box and do:
strEquip1 = "Bed"
In the second Macro, which will only be used as soon as all items needed were selected, I want that string from the other Macro to be imported so it would only import the strings that were created by clicking those boxes in other macros.
I hope my explanation makes a bit of sense, I'm not a programmer at all and I'm doing this as a side project for myself and for fun.
Thanks in advance for the help!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
inputing japanese string in word's macro = ?? tyki Word VBA 0 02-29-2016 03:09 AM
Macro to reverse a test string Jennifer Murphy Word VBA 5 01-16-2014 03:19 PM
VBA Powerpoint Macros: Set String in one Macro, use it in another Call Macro from Input Box String Paulsh Word VBA 1 11-01-2011 03:15 AM
VBA Powerpoint Macros: Set String in one Macro, use it in another Macros in Powerpoint Dumitra PowerPoint 1 08-19-2010 07:26 AM
VBA Powerpoint Macros: Set String in one Macro, use it in another Macro or Function to know wether a string is included in a text Eduardo Word VBA 5 06-15-2009 01:55 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft