Hello,
First off, I'm really new to VBA, but I'm pretty comfortable with VB.NET.
I'm really just trying to see if what I want to do is possible.
I use FrontPage for a lot of my programming because it's accessible to me. Thus, I am learning FrontPage VBA to help automate some of the things I do.
I would like to be able to run a VBA routine that opens a new blank text file in FrontPage, and enters a template I can use for my PHP files.
For instance, I want to run a macro like this:
and have it create a new text (read: non-html) file write in it something like this:
The problem I'm having is that FrontPage 2003 VBA objects really don't seem to be able to write to modify anything beyond HTML elements.
Before I dig any further, I want to know if I even can do what I'm talking about.
Thanks in advance!
First off, I'm really new to VBA, but I'm pretty comfortable with VB.NET.
I'm really just trying to see if what I want to do is possible.
I use FrontPage for a lot of my programming because it's accessible to me. Thus, I am learning FrontPage VBA to help automate some of the things I do.
I would like to be able to run a VBA routine that opens a new blank text file in FrontPage, and enters a template I can use for my PHP files.
For instance, I want to run a macro like this:
Code:
Sub createPHPClassTemplate ( ByVal ClassName as String, ByVal ParentClassName as String )
...
End Sub
and have it create a new text (read: non-html) file write in it something like this:
Code:
<?php
/*
... comments
*/
class ClassName extends ParentClass
{
}
?>
The problem I'm having is that FrontPage 2003 VBA objects really don't seem to be able to write to modify anything beyond HTML elements.
Before I dig any further, I want to know if I even can do what I'm talking about.
Thanks in advance!