willow1985
Well-known Member
- Joined
- Jul 24, 2019
- Messages
- 931
- Office Version
- 365
- Platform
- Windows
I have read a few forums online about this but nothing quite matches what I am looking to do.
What I require is as soon as the word "Closed" is entered on a certain row a Macro is triggered (this part I have)
What I want that Macro to do is go to the very first cell in that row (.Range(Cells(Selection.Row, -21), Cells(Selection.Row, -21)).Select),
open the hyperlink in that cell (which will open a folder) and then open a file in that folder.
Example of File Name: CC3074
Once the excel file is open I need that file activated and checked if cell O15 says TRUE or FALSE
if FALSE there will be a message box stating "CC Report incomplete. Please complete the report before closing out"
or something to that effect.
I can figure out the majority of this but what I have trouble with is opening the file using the hyperlink directory in VBA and activating the file in order to check cell O15
Help with this would be greatly appreciated!
What I require is as soon as the word "Closed" is entered on a certain row a Macro is triggered (this part I have)
What I want that Macro to do is go to the very first cell in that row (.Range(Cells(Selection.Row, -21), Cells(Selection.Row, -21)).Select),
open the hyperlink in that cell (which will open a folder) and then open a file in that folder.
Example of File Name: CC3074
Customer Concern Log.xlsm | |||
---|---|---|---|
A | |||
1976 | CC3074 | ||
CC Database |
Once the excel file is open I need that file activated and checked if cell O15 says TRUE or FALSE
if FALSE there will be a message box stating "CC Report incomplete. Please complete the report before closing out"
or something to that effect.
I can figure out the majority of this but what I have trouble with is opening the file using the hyperlink directory in VBA and activating the file in order to check cell O15
Help with this would be greatly appreciated!