Thanks for the help matt. I am sorry if I was unclear. Let me post the function example so you can see if it is valid
void menu(double &sandwichQty, double &sandwichCost,...)
{ //create menu interface.
cout<<"**************************************"<<endl...
good morning. I have the following question.
I am using a void function to dispaly a menu template that has a specific output format. The function is a void function with the following handle:
void productSelection()
My question is...is it possible to pass reference values into the the void...
Good Morning all. I keep getting a type mismatch error with the following code:
Public Sub SendToWord()
Dim CAP As Range
Dim myWord As Word.Application
Set CAP = Sheets("InitialAssessments").UsedRange
CAP.Copy
Set myWord = New Word.Application
With myWord
.Visible = True
.Activate...
Okay, I figured out how to get the word document up and going. I can get all the way down to the bookmark that is within the document. My problem is I don't know which method in Word VBA will allow me to copy the usedrange from excel into the document. Suggestions?
Here's the code:
Public...
Thanks Skip. That work well.
Now I am getting a Runtime Error 5174: Application defined or object defined error.
When I step through the code, the Word APP starts (the window opens without a document, so I successfully created an instance), but it won't load my document. I triple checked the...
Thanks for the quick response Skip. When I go through the code using F8, I get a Runtime Error 424, Object required when these lines are executed
Set CAP = Sheets("InitialAssessments").UsedRange.Select
CAP.Copy
I can't figure out why.
Appreciate the help.
Hello all. Good afternoon.
I need help with the following problem. I am truing to send the used range of a worksheet into a MS Word Bookmark. I can't get it to work. Here's what I have so far:
Public Sub SendToWord()
Dim CAP As Range
Set CAP = Sheets("InitialAssessments").UsedRange.Select...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.