OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-06-2012, 09:53
bprice's Avatar
bprice bprice is offline
Member
 
Join Date: Oct 2006
Location: Edmundston, New Brunswick, Canada
Posts: 89
Default GMS or Project Name

Hey Everyone,
Quick question... is there a way for a running macro to get it's own .gms filename or Project Name?

I want to build a string with the name of the .gms file in it (or Project Name)... I can manually create it in my string, but I'd like to use it in multiple GMS files, and was wondering if there was a way that macro could just retrieve it for me?

Is this possible?

Thanks,
B
Reply With Quote
  #2  
Old 04-06-2012, 12:30
bprice's Avatar
bprice bprice is offline
Member
 
Join Date: Oct 2006
Location: Edmundston, New Brunswick, Canada
Posts: 89
Default Found it...

Nevermind... I found it...

Application.VBE.ActiveVBProject.FileName
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Merge Project CarlHopwood CorelDRAW/Corel DESIGNER VBA 2 03-12-2011 07:35
how to save a project? pony CorelDRAW/Corel DESIGNER VBA 1 21-03-2009 23:37
Load Project... Button gregulans Calendar Wizard 2 04-11-2006 07:29
delete vba project from cdr file hotairballoon CorelDRAW/Corel DESIGNER VBA 1 18-05-2005 10:08
Can't find project or library ddonnahoe CorelDRAW/Corel DESIGNER VBA 1 10-05-2005 15:31


All times are GMT -5. The time now is 11:56.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com