Hello All
i am trying to set the open workbook name (Full Path) as a varible but seem to be coming up against walls every time i search foe the info. I don't want to open any dialogue boxes as in "Application.GetOpenFilename" or "Application.GetSaveAsFilename"
Am i confident that this should be really easy, but I am getting really frustrated with it!!!
Dim FilNam Long
FilNam = ActiveWorkbook.FullName
REASON:
I have a larger macro that is associted with a workbook, and the workbook filename is referenced in the VBA Code, so when i change the workbook filename the code fails as the old filename is still there... so i want the filename to be dynamic. - i am very much a novice on VBA, so go easy please![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Thanks in advance
i am trying to set the open workbook name (Full Path) as a varible but seem to be coming up against walls every time i search foe the info. I don't want to open any dialogue boxes as in "Application.GetOpenFilename" or "Application.GetSaveAsFilename"
Am i confident that this should be really easy, but I am getting really frustrated with it!!!
Dim FilNam Long
FilNam = ActiveWorkbook.FullName
REASON:
I have a larger macro that is associted with a workbook, and the workbook filename is referenced in the VBA Code, so when i change the workbook filename the code fails as the old filename is still there... so i want the filename to be dynamic. - i am very much a novice on VBA, so go easy please
Thanks in advance