+ Reply to Thread
Results 1 to 2 of 2

Format Painter in VBA?

  1. #1
    Registered User
    Join Date
    01-23-2006
    Posts
    5

    Question Format Painter in VBA?

    Is there a way to use the format painter in VBA? I mean, basically copying all the formatting properties of one cell into another cell?

    Thank you in advance!

  2. #2
    Gary Keramidas
    Guest

    Re: Format Painter in VBA?

    maybe something like this

    Sub test()
    Worksheets("sheet1").Range("b3").Copy
    Worksheets("sheet2").Range("g1:g5").PasteSpecial xlFormats
    End Sub

    --


    Gary


    "Angelus" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Is there a way to use the format painter in VBA? I mean, basically
    > copying all the formatting properties of one cell into another cell?
    >
    > Thank you in advance!
    >
    >
    > --
    > Angelus
    > ------------------------------------------------------------------------
    > Angelus's Profile:
    > http://www.excelforum.com/member.php...o&userid=30721
    > View this thread: http://www.excelforum.com/showthread...hreadid=503918
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1