Tough VBA Question

T

TDay

I am cutting data from Excel and pasting it to FrontPage using VBA. I cannot
find the code for doing the paste special as formatted paragraphs (the second
button on the paste special menu.
FrontPage.Application.CommandBars("Edit").Controls("Paste").Execute pastes
the Excel formats which I do not want. What I am looking for is the command
for formatted paragraphs, ...Controls("Paste Special").Controls("...
whatever it is for formated paragraphs. Help, anyone?
 
T

TDay

This works for pasting
FrontPage.Application.CommandBars("Edit").Controls(6).Execute

This does not work to paste special with formatted paragraphs,
FrontPage.Application.CommandBars("Edit").Controls(7).Controls(2).Execute

What is missing or incorrect?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top