Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
raadwiptec
Creator II
Creator II

macros

hi all,

Can anybody share the macro or vb script to write a table in the access database.

6 Replies
Anonymous
Not applicable

Siva_Sankar
Master II
Master II

Not applicable

set MAccApp = CreateObject("MSacess.Application")

MAccApp.Visible = true

set MAccDoc =MAccApp.Dat.Open("Template file")

set PHARMA = MAccDoc.Database("Datasheet Name")

ActiveDocument.GetSheetObject("ChartId").CopyTableToClipboard true

MAccDoc.Database("Datasheet Name").Activate 

This should work

raadwiptec
Creator II
Creator II
Author

Hi devanand,

already table exists in the database. I need to insert the values in the table. does the above code does the same.

raadwiptec
Creator II
Creator II
Author

hi all,

I already have the table. I need to insert the values into the table..