Hi SkipVought,
Thank you for your prompt reply.
Let me provide a little bit more details for using macro and VBA. This is one of daily task as I run the data in access nad paste it in excel it has values for multiple groups and basically macro is useed to repeat process.
I want it to lookup a...
Hi
I am trying to write in a macro a vlookup condition. Basically i would like it to lookup a date match and paste a value.
This is what I have now:
Sheets("INV").Select
Range("A4").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False...
Hi,
I am trying to alter column type by using the following code:
DoCmd.RunSQL "ALTER TABLE DATA-SP-09 COLUMN AIR MILES Collector #/ Numéro d’adhérent AIR MILES TEXT"
It is giving me a syntax error, I believe it is because of the table name and column name which I can not modify is there any...
Hi PHV,
Thank you. It worked the first time but when I run the process second time for second transit it gives me the following error:
Run Time Error 91
Object variable or with block variable npt set.
This is where I get the error:
ActiveWorkbook.SaveAs FileName:= _
"J:\cag\Network...
Hi Again,
I ran into a problem while saving my file. Instead saving the new workbook (Book1) it is saving my excel template. I do not want to save my template I only want to save the new workbook that is created from this template.
Here is my code:
'Copy and move Excel Sheet to new workbook...
Hi Roy,
Thank you. It worked fantastic. Yes actually there is a comma in the file name, I will remove it and see if it makes any difference. I inherited this folder from my colleague who used to work in this position.
Once again than you so much.
Hi,
I am trying to save an excel file with access vb script code.
The code I am using works the first time around but when I run it again it gives me an error:
Run Time Error 91
Object variable or with block variable npt set.
Here is the code:
Set r1 = wbk.Sheets("CTAS Total...
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.