Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
eliran
Creator III
Creator III

Moving excel sheets using qlikview macro

Hey all,

I'm having issues moving sheet location in excel using Qlikview macro.

The standard command is:

    Sheets("Sheet1").Move After:=Sheets(3)

Sadly, the macro fails.

Any help?

Regards,

Eliran.

1 Solution

Accepted Solutions
m_woolf
Master II
Master II

Mr. Google says:

Set oExcel = CreateObject("Excel.Application")

Set oWorkBook = oExcel.Workbooks.Add

oWorkbook.Sheets("Sheet1").Move ,oWorkbook.Sheets( oWorkbook.Sheets.Count )

View solution in original post

2 Replies
m_woolf
Master II
Master II

Mr. Google says:

Set oExcel = CreateObject("Excel.Application")

Set oWorkBook = oExcel.Workbooks.Add

oWorkbook.Sheets("Sheet1").Move ,oWorkbook.Sheets( oWorkbook.Sheets.Count )

eliran
Creator III
Creator III
Author

I'm probably loosing it.

I have searched for it but didn't find the answer.

Thanks!

Eliran.