Announcement

GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? WE LIVE INSIDE A DREAM. GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? NO MORE SPAM
FRIENDLY REMINDER THAT THE FORUMS ARE DEAD AND THAT THE LIFE OF THE PARTY CURRENTLY RESIDES IN #FAIL #EEFORUMSANARCHY #EEFORUMS #hi ON RIZON.

YO RIZON #HI
it's closing time you don't have to go home but you can't stay here

Advertisement

»  » 

#1 2012-02-27 11:24:47

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

MVB macros

Well, I have started with word/excel macros. here are my macros so far:

Here is one that adds parenthesis to the end of a selection:

Sub Parenth()
'
' Parenth Macro
'
'
    Selection.Copy
    Selection.TypeText Text:="()"
    Selection.MoveLeft Unit:=wdCharacter, Count:=1
    Selection.PasteAndFormat (wdFormatOriginalFormatting)
End Sub

This one types in the html and body tags, good for working in html in word. (not that I'd use word for html)

Sub HTMLBODY()
'
' HTMLBODY Macro
'
'
    Selection.TypeText Text:="<>"
    Selection.MoveLeft Unit:=wdCharacter, Count:=1
    Selection.TypeText Text:="html"
    Selection.MoveRight Unit:=wdCharacter, Count:=1
    Selection.TypeParagraph
    Selection.TypeText Text:="<>"
    Selection.MoveLeft Unit:=wdCharacter, Count:=1
    Selection.TypeText Text:="body"
    Selection.MoveRight Unit:=wdCharacter, Count:=1
    Selection.TypeParagraph
    Selection.TypeParagraph
    Selection.TypeText Text:="<>"
    Selection.MoveLeft Unit:=wdCharacter, Count:=1
    Selection.TypeText Text:="/body"
    Selection.MoveRight Unit:=wdCharacter, Count:=1
    Selection.TypeParagraph
    Selection.TypeText Text:="<>"
    Selection.MoveLeft Unit:=wdCharacter, Count:=1
    Selection.TypeText Text:="/html"
End Sub

And to clear:

Sub clear()
'
' clear Macro
'
'
    Selection.WholeStory
    Selection.Delete Unit:=wdCharacter, Count:=1
End Sub

Glowbow! Do your tektek.org/color thing, put it into word, activate this macro, and you have a rainbow with the glow tag!

Sub glowbow()
'
' glowbow Macro
'
'
    Selection.Find.ClearFormatting
    Selection.Find.Replacement.ClearFormatting
    With Selection.Find
        .Text = "color"
        .Replacement.Text = "glow"
        .Forward = True
        .Wrap = wdFindContinue
        .Format = False
        .MatchCase = False
        .MatchWholeWord = False
        .MatchWildcards = False
        .MatchSoundsLike = False
        .MatchAllWordForms = False
    End With
    Selection.Find.Execute Replace:=wdReplaceAll
End Sub

hello I am testing the glow tag rainbow of awesomeness
More to come!

Last edited by scienceguyz (2012-02-28 20:43:43)


No longer part of Fail. Sorry.

Offline

#2 2012-02-27 16:10:27

Coolio
That one guy
From: ...Huh. Where am I again?
Registered: 2011-05-18
Posts: 5,354
Fails: 55,555

Re: MVB macros

Oh. I used to do Powerpoint popup macros, but they were hella annoying.


L3srd6t.png

Offline

#3 2012-02-27 16:29:35

Ratburntro44
Member
Registered: 2011-10-28
Posts: 3,370
Fails: 100,959

Re: MVB macros

I prefer c style macros where you just say something and what to replace it with (there are function like macros, but those still are way easier than these).


31
SEfX29x.png

Offline

#4 2012-02-28 20:48:18

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: MVB macros

Added glowbow!
Glow tag rainbow! geddit?


No longer part of Fail. Sorry.

Offline

#5 2012-02-29 15:13:10

Different55
The Beanmaker
Registered: 2011-05-18
Posts: 9,143
Fails: 0

Re: MVB macros

If you can make that generate the glowbow, too, you will be awesome.


Jet fuel can't make dank memes.

Offline

#6 2012-02-29 17:50:47

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: MVB macros

I'll try. *looks at source code for tektek.org/color* no. sorry.


No longer part of Fail. Sorry.

Offline

#7 2012-02-29 22:27:40

Different55
The Beanmaker
Registered: 2011-05-18
Posts: 9,143
Fails: 0

Re: MVB macros

Meh. Imma try to turn that javascript into php.


Jet fuel can't make dank memes.

Offline

#8 2012-03-01 10:33:55

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: MVB macros

Different55 wrote:
Have you all forgotten the awesomeness of the glow tag?

Did you get a macro/script to do that?
EDIT: I just realized i had 2 fail points? what was the second one for?

Last edited by scienceguyz (2012-03-01 10:34:53)


No longer part of Fail. Sorry.

Offline

#9 2012-03-01 16:40:12

Different55
The Beanmaker
Registered: 2011-05-18
Posts: 9,143
Fails: 0

Re: MVB macros

IDK about the points.

I used tektek and notepad.


Jet fuel can't make dank memes.

Offline

#10 2012-03-01 17:45:51

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: MVB macros

so you manually took the colors and turned them into glows?


No longer part of Fail. Sorry.

Offline

#11 2012-03-02 16:03:39

Different55
The Beanmaker
Registered: 2011-05-18
Posts: 9,143
Fails: 0

Re: MVB macros

Notepad has a replace function.


Jet fuel can't make dank memes.

Offline

#12 2012-03-02 19:57:22

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: MVB macros

I noticed that today when i had to replace PANIC!!!! with something else.


No longer part of Fail. Sorry.

Offline

Board footer

Jump to

We use Fail. Fail uses FluxBB

[ Generated in 0.022 seconds, 37 queries executed - Memory usage: 594.18 KiB (Peak: 617.84 KiB) ]