Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I found the coding on the Pearson website for how to count cells based on the
color of the cell. WOW! That is just what I have been trying to figure out, and it works perfectly. I want to be able to access that coding no matter what workbook I open, without having to copy the module from one workbook to another each time. I tried saving it in my Personal Macro Workbook, but that didn't work. Any suggestions? |
#2
![]() |
|||
|
|||
![]()
What happened when it didn't work?
-- HTH RP (remove nothere from the email address if mailing direct) "KristiB" wrote in message ... I found the coding on the Pearson website for how to count cells based on the color of the cell. WOW! That is just what I have been trying to figure out, and it works perfectly. I want to be able to access that coding no matter what workbook I open, without having to copy the module from one workbook to another each time. I tried saving it in my Personal Macro Workbook, but that didn't work. Any suggestions? |
#3
![]() |
|||
|
|||
![]()
I get a #NAME? error, so it is not recognizing the =countbycolor function in
the new workbook. KB "Bob Phillips" wrote: What happened when it didn't work? -- HTH RP (remove nothere from the email address if mailing direct) "KristiB" wrote in message ... I found the coding on the Pearson website for how to count cells based on the color of the cell. WOW! That is just what I have been trying to figure out, and it works perfectly. I want to be able to access that coding no matter what workbook I open, without having to copy the module from one workbook to another each time. I tried saving it in my Personal Macro Workbook, but that didn't work. Any suggestions? |
#4
![]() |
|||
|
|||
![]()
try
=personal.xls!countybycolor(... "KristiB" wrote: I get a #NAME? error, so it is not recognizing the =countbycolor function in the new workbook. KB "Bob Phillips" wrote: What happened when it didn't work? -- HTH RP (remove nothere from the email address if mailing direct) "KristiB" wrote in message ... I found the coding on the Pearson website for how to count cells based on the color of the cell. WOW! That is just what I have been trying to figure out, and it works perfectly. I want to be able to access that coding no matter what workbook I open, without having to copy the module from one workbook to another each time. I tried saving it in my Personal Macro Workbook, but that didn't work. Any suggestions? |
#5
![]() |
|||
|
|||
![]()
That worked!
Thanks bunches! KB "Duke Carey" wrote: try =personal.xls!countybycolor(... "KristiB" wrote: I get a #NAME? error, so it is not recognizing the =countbycolor function in the new workbook. KB "Bob Phillips" wrote: What happened when it didn't work? -- HTH RP (remove nothere from the email address if mailing direct) "KristiB" wrote in message ... I found the coding on the Pearson website for how to count cells based on the color of the cell. WOW! That is just what I have been trying to figure out, and it works perfectly. I want to be able to access that coding no matter what workbook I open, without having to copy the module from one workbook to another each time. I tried saving it in my Personal Macro Workbook, but that didn't work. Any suggestions? |
#6
![]() |
|||
|
|||
![]()
Just adding to the others' posts, if you put the function in an
Add-In, you don't need to prefix the call with the workbook name. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "KristiB" wrote in message ... I found the coding on the Pearson website for how to count cells based on the color of the cell. WOW! That is just what I have been trying to figure out, and it works perfectly. I want to be able to access that coding no matter what workbook I open, without having to copy the module from one workbook to another each time. I tried saving it in my Personal Macro Workbook, but that didn't work. Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro that will add data from multiple workbooks to the 1st open r | Excel Discussion (Misc queries) | |||
Make Change Case in Excel a format rather than formula | Excel Worksheet Functions | |||
Visual Basic Error Message | Excel Discussion (Misc queries) | |||
Visual Basic Code Remains in "memory" | Excel Worksheet Functions | |||
Excel does not display workbooks open | Setting up and Configuration of Excel |