Hello,
I have the below two Macros, but I would like to convert into a single Macro.
Macro 1
Macro 2Please Login or Register to view this content.
Thank youPlease Login or Register to view this content.
Jr
Hello,
I have the below two Macros, but I would like to convert into a single Macro.
Macro 1
Macro 2Please Login or Register to view this content.
Thank youPlease Login or Register to view this content.
Jr
like this? it will run the RAW and then the SETUP macro
Please Login or Register to view this content.
Hello,
thank you for the reply. I tried to use the example, but it does not work. I do not believe the "Function GetHeaderColumn" can be at the end. I do believe it has to run before the Dinnerware_setup portion.
Thank you
I note this part of the code is "ugly".
you select raw data and delete it then you are on some un specified sheet where you change the number format 3 times and select a column?Please Login or Register to view this content.
maybe instead
But that probably wont fix your issue - maybe we need a sample file and maybe that personal.xlsb code.Please Login or Register to view this content.
If you want something done right... find a forum and ask an online expert.
Time flies like an arrow. Fruit flies like a banana.
Hello,
I just uploaded some samples.
Running Macros in this order
Dinnerware_Raw
Dinnerware_Setup
Setup is the final output.
looks like it works aside from your personal xlsb macros, which i think i see what they are doing...
are you putting the code in module1?
what error (incorrect data) did you get when you ran Kidrock's code?
i would try scottiex's suggestion put all the code in module 1
Please Login or Register to view this content.
Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.
Hello,
Thank you. I have tried scottiex and bakerman2, but I seem to get the attached error. I am getting the carry over to Final Data, but it does not seem to be running,
Columns("C:C").NumberFormat = "0"
Application.Run "PERSONAL.XLSB!RemoveTags.RemoveTags"
Application.Run "PERSONAL.XLSB!SeparateDataBySemiColon.SeparateDataBySemiColon"
But if I run the original macros separate, it all works and I end up with the correct final output.
Thank you,
JR
looks like an acess privilege error.
do you have a protected worksheet/book here? (although I don't know why merging the macros causes it to suddenly occur)
if so have you set it to user interface only?
Please Login or Register to view this content.
Also if we have the personal xlsb code we could just put it in these macros instead of calling it from the personal.xlsb.
then if we gave you code we could know it works in it's entirety.
Hello,
Sorry about that issue. I have included a text file which shows the other two macros in question.
Thanks Jr
Does this work for you?
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks