Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Calling macro from MS Excel (MS Word works fine)

Calling macro from MS Excel (MS Word works fine)

Calling macro from MS Excel (MS Word works fine)

In MS Word, I can call a macro. I just use the field command: PRINT 27 "&f#x#Y" - this works just fine.
In MS Excel, however, there doesnt seem to be a similar function. Anyway .. do u know how to do it? Plz let me know.
Poul Dyreborg

RE: Calling macro from MS Excel (MS Word works fine)

Okay nobody seems to know!

If you know that this cannot be done - plz respons.

RE: Calling macro from MS Excel (MS Word works fine)

I don't know what makes the command "PRINT 27 "&f#x#Y" " in Word, but if you don't find in Excel you need make a public sub/function that makes the work:

1.- Go to the VBA editor (Alt+F11)
2.- Whit the contextual menu "Insert" a "Module"
3.-Write a sub/function that makes all you want (called as you whant and with the parameters it need).
4.- In the Excel cells try to add a call to your new "Macro":
"More functions..."
"User functions..."
(Here you should see the name of the function you writed)

This is the base of Macro creation...
I helped?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close